summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2017-04-22 18:05:35 +0000
committerSanjay Patel <spatel@rotateright.com>2017-04-22 18:05:35 +0000
commit3b863f8a1ec82f4dd4dfcbc5d24b2da83ff516f3 (patch)
treea3e9531918f1e579c36a4e0316009cd2016a4bae /llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
parentfc32c3a2c55f3494bd7b9194634797df72c3e162 (diff)
downloadbcm5719-llvm-3b863f8a1ec82f4dd4dfcbc5d24b2da83ff516f3.tar.gz
bcm5719-llvm-3b863f8a1ec82f4dd4dfcbc5d24b2da83ff516f3.zip
[InstCombine] use 'match' to reduce code; NFCI
The later uses of dyn_castNotVal in this block are either incomplete (doesn't handle vector constants) or overstepping (shouldn't handle constants at all), but this first use is just unnecessary. 'I' is obviously not a constant, and it can't be a not-of-a-not because that would already be instsimplified. llvm-svn: 301088
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud