diff options
author | Philip Reames <preames@rivosinc.com> | 2025-09-08 13:11:34 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-08 13:11:34 -0700 |
commit | db746c65b1ba4b6d34b5691488c6ee413273c797 (patch) | |
tree | 8b0dabd989cc6207a0c61dc2d7f3935c8c2f28c2 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | daf8f9fc1ccc6c5679bc89058fd66d8ea4da9d59 (diff) | |
download | llvm-db746c65b1ba4b6d34b5691488c6ee413273c797.zip llvm-db746c65b1ba4b6d34b5691488c6ee413273c797.tar.gz llvm-db746c65b1ba4b6d34b5691488c6ee413273c797.tar.bz2 |
[RISCV] Allow constants in tryFoldSelectIntoOp (#157376)
For simm12 constants this allows the use of e.g. addi/xori, and for
non-simm12 constants seems to still produce better code than the default
lowering.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions