summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineBlockPlacement.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2017-05-17 22:29:40 +0000
committerSanjay Patel <spatel@rotateright.com>2017-05-17 22:29:40 +0000
commitba212c241ab233b4830941f36c4608bee4eca4a3 (patch)
tree8c1104adf5fc61d6858fac8f47f5af2af98ca9fe /llvm/lib/CodeGen/MachineBlockPlacement.cpp
parentcde4b3f4e694b544521e40dada45025ed0196afa (diff)
downloadbcm5719-llvm-ba212c241ab233b4830941f36c4608bee4eca4a3.tar.gz
bcm5719-llvm-ba212c241ab233b4830941f36c4608bee4eca4a3.zip
[InstCombine] handle icmp i1 X, C early to avoid creating an unknown pattern
The missing optimization for xor-of-icmps still needs to be added, but by being more efficient (not generating unnecessary logic ops with constants) we avoid the bug. See discussion in post-commit comments: https://reviews.llvm.org/D32143 llvm-svn: 303312
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud