[llvm] c176edc - [RISCV] Clear mayRaiseFPException for fclass.d instruction.
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 21 19:48:46 PDT 2023
Author: Craig Topper
Date: 2023-03-21T19:48:23-07:00
New Revision: c176edc013c349f2cc2a2df7fa661add017e8097
URL: https://github.com/llvm/llvm-project/commit/c176edc013c349f2cc2a2df7fa661add017e8097
DIFF: https://github.com/llvm/llvm-project/commit/c176edc013c349f2cc2a2df7fa661add017e8097.diff
LOG: [RISCV] Clear mayRaiseFPException for fclass.d instruction.
We got it right for fclass.s and fclass.h.
Added:
Modified:
llvm/lib/Target/RISCV/RISCVInstrInfoD.td
Removed:
################################################################################
diff --git a/llvm/lib/Target/RISCV/RISCVInstrInfoD.td b/llvm/lib/Target/RISCV/RISCVInstrInfoD.td
index 0adb00085424..e3d7deeb6ff8 100644
--- a/llvm/lib/Target/RISCV/RISCVInstrInfoD.td
+++ b/llvm/lib/Target/RISCV/RISCVInstrInfoD.td
@@ -145,6 +145,7 @@ defm FLT_D : FPCmp_rr_m<0b1010001, 0b001, "flt.d", DINX>;
defm FLE_D : FPCmp_rr_m<0b1010001, 0b000, "fle.d", DINX>;
}
+let mayRaiseFPException = 0 in
defm FCLASS_D : FPUnaryOp_r_m<0b1110001, 0b00000, 0b001, XDINX, "fclass.d">,
Sched<[WriteFClass64, ReadFClass64]>;
More information about the llvm-commits
mailing list