[llvm] [SelectionDAG][RISCV] Operations with static rounding (PR #100999)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 29 11:08:26 PDT 2024
================
@@ -535,6 +535,11 @@ class RISCVTargetLowering : public TargetLowering {
bool softPromoteHalfType() const override { return true; }
+ bool isStaticRoundingSupportedFor(const Instruction &I) const override {
+ return true;
----------------
topperc wrote:
This is wrong for vectors.
https://github.com/llvm/llvm-project/pull/100999
More information about the llvm-commits
mailing list