aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorMichael Maitland <michaeltmaitland@gmail.com>2025-01-08 13:30:40 -0500
committerGitHub <noreply@github.com>2025-01-08 13:30:40 -0500
commite93181bf13b289823810d3b43bcc3c2df1eda70b (patch)
treeba9609b2a02e73982be6877d66144dd555c3cb51 /clang/lib/CodeGen/CodeGenModule.cpp
parentd6ae3d3070a2d0578ccb5cd072007cca922cba36 (diff)
downloadllvm-e93181bf13b289823810d3b43bcc3c2df1eda70b.zip
llvm-e93181bf13b289823810d3b43bcc3c2df1eda70b.tar.gz
llvm-e93181bf13b289823810d3b43bcc3c2df1eda70b.tar.bz2
[RISCV][VLOPT] Add vector fp-conversion instruction to isSupportedInstr (#122033)
When these instructions are marked nofpexcept, we can optimize them. There are some added toggles in the output, likley because other noexcept fp instructions are not part of isSupportedInstr yet. We may want to avoid marking an instruction as isSupported in the future if any of its FP users are missing nofpexcept to avoid added toggles. However, we seem to get some GPRs back as a result of this change, which may outweigh the cost of avoiding extra toggles. The plan is to follow this patch up with added support for more FP instructions in the same way. The instructions in this patch are a natural starting point because they allow us to test with integer instructions which have good support already.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions