[llvm] [SystemZ] Don't use FP Load and Test as comparisons to same reg (PR #78074)
Ulrich Weigand via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 15 03:36:37 PST 2024
================
@@ -9180,9 +9180,11 @@ MachineBasicBlock *SystemZTargetLowering::emitLoadAndTestCmp0(
MachineRegisterInfo *MRI = &MF.getRegInfo();
const SystemZInstrInfo *TII = Subtarget.getInstrInfo();
DebugLoc DL = MI.getDebugLoc();
-
Register SrcReg = MI.getOperand(0).getReg();
+ // This instruction will raise an exception if the input is a SNaN.
+ // MI.clearFlag(MachineInstr::MIFlag::NoFPExcept);
+
----------------
uweigand wrote:
Please remove the changes from this function.
https://github.com/llvm/llvm-project/pull/78074
More information about the llvm-commits
mailing list