summaryrefslogtreecommitdiffstats
path: root/clang/utils/analyzer/SATestBuild.py
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2018-07-30 22:21:37 +0000
committerSanjay Patel <spatel@rotateright.com>2018-07-30 22:21:37 +0000
commit9f807f44b10135add1cce8daf4f004d984ba860b (patch)
treedca26cb4e938ac24d3fb6a951979dfefce5613b3 /clang/utils/analyzer/SATestBuild.py
parent6f33ea4ef6bd343a51fe5f3ec3c0e8dd46bad2b7 (diff)
downloadbcm5719-llvm-9f807f44b10135add1cce8daf4f004d984ba860b.tar.gz
bcm5719-llvm-9f807f44b10135add1cce8daf4f004d984ba860b.zip
[DAGCombiner] transform sub-of-shifted-signbit to add
This is exchanging a sub-of-1 with add-of-minus-1: https://rise4fun.com/Alive/plKAH This is another step towards improving select-of-constants codegen (see D48970). x86 is the motivating target, and those diffs all appear to be wins. PPC and AArch64 look neutral. I've limited this to early combining (!LegalOperations) in case a target wants to reverse it, but I think canonicalizing to 'add' is more likely to produce further transforms because we have more folds for 'add'. Differential Revision: https://reviews.llvm.org/D49924 llvm-svn: 338317
Diffstat (limited to 'clang/utils/analyzer/SATestBuild.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud