diff options
author | Craig Topper <craig.topper@sifive.com> | 2024-08-12 09:34:51 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-12 09:34:51 -0700 |
commit | 8fd1484e301421c572f2a30a29164a9ba784f52a (patch) | |
tree | 5f218816e4c67c709376cbb1aea467f13d110df1 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 654d1f83e3fa191d7b1724cdaf0eafbca0cf408a (diff) | |
download | llvm-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