aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Unicode.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 /llvm/lib/Support/Unicode.cpp
parentc0756c454c3bace142dc8aa7b01096bb2e18854a (diff)
downloadllvm-dc647a2603712672e705479497d6f6bff53e027e.zip
llvm-dc647a2603712672e705479497d6f6bff53e027e.tar.gz
llvm-dc647a2603712672e705479497d6f6bff53e027e.tar.bz2
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 'llvm/lib/Support/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions