aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2024-08-12 09:34:51 -0700
committerGitHub <noreply@github.com>2024-08-12 09:34:51 -0700
commit8fd1484e301421c572f2a30a29164a9ba784f52a (patch)
tree5f218816e4c67c709376cbb1aea467f13d110df1 /clang/lib/CodeGen/CodeGenFunction.cpp
parent654d1f83e3fa191d7b1724cdaf0eafbca0cf408a (diff)
downloadllvm-8fd1484e301421c572f2a30a29164a9ba784f52a.zip
llvm-8fd1484e301421c572f2a30a29164a9ba784f52a.tar.gz
llvm-8fd1484e301421c572f2a30a29164a9ba784f52a.tar.bz2
[LegalizeTypes][RISCV] Use signed promotion for UADDSAT if that's what the target prefers. (#102842)
As noted in #102781 we can promote UADDSAT if we use sign extend instead of zero extend. The custom handler for RISC-V was using SIGN_EXTEND when the Zbb extension was enabled. With this change we no longer need the custom code.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions