aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Format/SortIncludesTest.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2024-09-07 11:24:47 +0100
committerGitHub <noreply@github.com>2024-09-07 11:24:47 +0100
commit6df12912964caf118c0c8019d7ec681e6ad8bf5c (patch)
tree45e9cd1bb2f64ef9158eaa3c022aa894dd57f0e8 /clang/unittests/Format/SortIncludesTest.cpp
parent78cf9b830c78daa5aed51b5ca77bb7db9974d1ec (diff)
downloadllvm-main.zip
llvm-main.tar.gz
llvm-main.tar.bz2
[X86] LowerSELECTWithCmpZero - extend branchless OR/XOR select codegen to handle ADD/SUB as well (#107612)HEADmain
Extend the "SELECT ((AND X, 1) != 0), Y, (OR/XOR Y, Z) -> (OR/XOR Y, (AND (NEG(AND X, 1)), Z))" to also handle ADD/SUB. As SUB is not commutative, we have to be more careful and only accept LHS matches.
Diffstat (limited to 'clang/unittests/Format/SortIncludesTest.cpp')
0 files changed, 0 insertions, 0 deletions