summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2017-05-17 20:27:55 +0000
committerSanjay Patel <spatel@rotateright.com>2017-05-17 20:27:55 +0000
commite2787b9a35d1844dce5e9bb46d0b7526fa9662d7 (patch)
tree14a6e694bc3a0748afc4a3b31c525bcefc970c3e /llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
parentd9a626332ef6748d1ef157ff9813875f4ad4bcf6 (diff)
downloadbcm5719-llvm-e2787b9a35d1844dce5e9bb46d0b7526fa9662d7.tar.gz
bcm5719-llvm-e2787b9a35d1844dce5e9bb46d0b7526fa9662d7.zip
[InstSimplify] handle all icmp i1 X, C in one place; NFCI
We already handled all of the new tests identically, but several of those went through a lot of unnecessary processing before getting folded. Another motivation for grouping these cases together is that InstCombine needs a similar fold. Currently, it handles the 'not' cases inefficiently which can lead to bugs as described in the post-commit comments of: https://reviews.llvm.org/D32143 llvm-svn: 303295
Diffstat (limited to 'llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud