aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2024-09-06 17:43:21 +0100
committerSimon Pilgrim <llvm-dev@redking.me.uk>2024-09-06 18:07:07 +0100
commitc08f80e348ed84e4372d4a8687dfcaaa2df813aa (patch)
tree079e7a76669792452e40a2a116007f8def891bff /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentce2e38653fab52cc53c7a267727b996c14c7af82 (diff)
downloadllvm-c08f80e348ed84e4372d4a8687dfcaaa2df813aa.zip
llvm-c08f80e348ed84e4372d4a8687dfcaaa2df813aa.tar.gz
llvm-c08f80e348ed84e4372d4a8687dfcaaa2df813aa.tar.bz2
[X86] select.ll - add ADD/SUB identity select test cases
LowerSELECTWithCmpZero already handles "SELECT (X != 0), Y, (OR/XOR Y, Z) -> (OR/XOR Y, (AND (0 - X), Z))" - we can also handle ADD/SUB in a similar way, although SUB is more restricted as its not commutative.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions