summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/ARMAttributeParser.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2018-07-04 17:44:04 +0000
committerSanjay Patel <spatel@rotateright.com>2018-07-04 17:44:04 +0000
commit9c2e7ceb1a0d77a619b247d3be4774f209fd0d02 (patch)
tree86737dca71a0f5a3107640d956a1d8bcf0de97f9 /llvm/lib/Support/ARMAttributeParser.cpp
parent0dd27042c6e2a18e12e3a670add046f9fe8509ac (diff)
downloadbcm5719-llvm-9c2e7ceb1a0d77a619b247d3be4774f209fd0d02.tar.gz
bcm5719-llvm-9c2e7ceb1a0d77a619b247d3be4774f209fd0d02.zip
[InstCombine] allow narrowing of min/max/abs
We have bailout hacks based on min/max in various places in instcombine that shouldn't be necessary. The affected test was added for: D48930 ...which is a consequence of the improvement in: D48584 (https://reviews.llvm.org/rL336172) I'm assuming the visitTrunc bailout in this patch was added specifically to avoid a change from SimplifyDemandedBits, so I'm just moving that below the EvaluateInDifferentType optimization. A narrow min/max is still a min/max. llvm-svn: 336293
Diffstat (limited to 'llvm/lib/Support/ARMAttributeParser.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud