diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2024-09-06 17:43:21 +0100 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2024-09-06 18:07:07 +0100 |
commit | c08f80e348ed84e4372d4a8687dfcaaa2df813aa (patch) | |
tree | 079e7a76669792452e40a2a116007f8def891bff /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | ce2e38653fab52cc53c7a267727b996c14c7af82 (diff) | |
download | llvm-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