aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2024-02-21 16:19:17 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2024-02-21 16:19:39 +0000
commit9978f6a10f37d12e1eecad0d4bfacd350d933ed7 (patch)
treef209eed4208643823e816c8962ae2e0eba0b6c3f /llvm/lib/IR/Module.cpp
parentc16d0d14de40559eb3845a88b6434550dd1dcf77 (diff)
downloadllvm-9978f6a10f37d12e1eecad0d4bfacd350d933ed7.zip
llvm-9978f6a10f37d12e1eecad0d4bfacd350d933ed7.tar.gz
llvm-9978f6a10f37d12e1eecad0d4bfacd350d933ed7.tar.bz2
[CostModel][X86] Reduce the extra costs for ICMP complex predicates when an operand is constant
In most cases, SETCC lowering will be able to simplify/commute the comparison by adjusting the constant. TODO: We still need to adjust ExtraCost based on CostKind Fixes #80122
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions