summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format/UnwrappedLineParser.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2013-09-04 11:57:17 +0000
committerTim Northover <tnorthover@apple.com>2013-09-04 11:57:17 +0000
commitdc647a2603712672e705479497d6f6bff53e027e (patch)
tree090ef469890af7000180102111af7f51f28086e8 /clang/lib/Format/UnwrappedLineParser.cpp
parentc0756c454c3bace142dc8aa7b01096bb2e18854a (diff)
downloadbcm5719-llvm-dc647a2603712672e705479497d6f6bff53e027e.tar.gz
bcm5719-llvm-dc647a2603712672e705479497d6f6bff53e027e.zip
InstCombine: allow unmasked icmps to be combined with logical ops
"(icmp op i8 A, B)" is equivalent to "(icmp op i8 (A & 0xff), B)" as a degenerate case. Allowing this as a "masked" comparison when analysing "(icmp) &/| (icmp)" allows us to combine them in more cases. rdar://problem/7625728 llvm-svn: 189931
Diffstat (limited to 'clang/lib/Format/UnwrappedLineParser.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud