Skip to content

Commit 98e1bdb

Browse files
author
mattarde
committed
remove flags
1 parent 8baa2a0 commit 98e1bdb

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2567,15 +2567,12 @@ bool IRTranslator::translateKnownIntrinsic(const CallInst &CI, Intrinsic::ID ID,
25672567
return true;
25682568
}
25692569
case Intrinsic::is_fpclass: {
2570-
uint32_t Flags = MachineInstr::copyFlagsFromInstruction(CI);
2571-
Flags |=
2572-
CI.hasFnAttr(llvm::Attribute::StrictFP) ? MachineInstr::NoFPExcept : 0;
25732570
Value *FpValue = CI.getOperand(0);
25742571
ConstantInt *TestMaskValue = cast<ConstantInt>(CI.getOperand(1));
25752572

25762573
MIRBuilder
25772574
.buildInstr(TargetOpcode::G_IS_FPCLASS, {getOrCreateVReg(CI)},
2578-
{getOrCreateVReg(*FpValue)}, Flags)
2575+
{getOrCreateVReg(*FpValue)})
25792576
.addImm(TestMaskValue->getZExtValue());
25802577

25812578
return true;

0 commit comments

Comments
 (0)