aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/AST/ByteCode/Program.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2025-08-18 21:24:03 -0700
committerGitHub <noreply@github.com>2025-08-18 21:24:03 -0700
commit2817873082c05b061b198853d64602ff26ce7cfe (patch)
tree709d761b8dac046d129f1a244bc3a6f1fe260de8 /clang/lib/AST/ByteCode/Program.cpp
parent00ffd8b8aa4e8cd3a2fee654d55995918886e874 (diff)
downloadllvm-2817873082c05b061b198853d64602ff26ce7cfe.zip
llvm-2817873082c05b061b198853d64602ff26ce7cfe.tar.gz
llvm-2817873082c05b061b198853d64602ff26ce7cfe.tar.bz2
[RISCV] Fold (sext_inreg (setcc), i1) -> (sub 0, (setcc). (#154206)
This helps the 3 vendor extensions that make sext_inreg i1 legal. I'm delaying this until after LegalizeDAG since we normally have sext_inreg i1 up until LegalizeDAG turns it into and+neg. I also delayed the recently added (sext_inreg (xor (setcc), -1), i1) combine. Though the xor isn't likely to appear before LegalizeDAG anyway.
Diffstat (limited to 'clang/lib/AST/ByteCode/Program.cpp')
0 files changed, 0 insertions, 0 deletions