aboutsummaryrefslogtreecommitdiff
path: root/clang/lib
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2022-09-14 11:46:26 +0100
committerSimon Pilgrim <llvm-dev@redking.me.uk>2022-09-14 11:46:26 +0100
commit854a4595b6e14ea178152c44585a42bb6e1a779e (patch)
treeed05cbe06abb184c6b5dedf6201a77eea9451da3 /clang/lib
parent40ab7875f8ccb8d1b0166bf91475fc4d662cffe9 (diff)
downloadllvm-854a4595b6e14ea178152c44585a42bb6e1a779e.zip
llvm-854a4595b6e14ea178152c44585a42bb6e1a779e.tar.gz
llvm-854a4595b6e14ea178152c44585a42bb6e1a779e.tar.bz2
[CostModel][X86] getArithmeticInstrCost - move GLM/SLM custom costs AFTER constant shift -> multiply canonicalization
Corrects the shift by constant costs to better account for them being converted to multiples for lowering - which demonstrates that we should probably be trying harder NOT to convert these to multiplies for some CPUs (v4i32 in particular).
Diffstat (limited to 'clang/lib')
0 files changed, 0 insertions, 0 deletions