[llvm] 76291e1 - [X86] Drop an unneeded FIXME. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 14 17:07:25 PST 2020
Author: Craig Topper
Date: 2020-01-14T17:05:46-08:00
New Revision: 76291e1158c2aedddfe0be0ea69452ea6dc2db24
URL: https://github.com/llvm/llvm-project/commit/76291e1158c2aedddfe0be0ea69452ea6dc2db24
DIFF: https://github.com/llvm/llvm-project/commit/76291e1158c2aedddfe0be0ea69452ea6dc2db24.diff
LOG: [X86] Drop an unneeded FIXME. NFC
The extload on X87 is free.
Added:
Modified:
llvm/lib/Target/X86/X86ISelLowering.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index 70a7f166a5ff..664c6b9af767 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -19395,7 +19395,6 @@ SDValue X86TargetLowering::LowerUINT_TO_FP(SDValue Op,
FudgePtr = DAG.getNode(ISD::ADD, dl, PtrVT, FudgePtr, Offset);
// Load the value out, extending it from f32 to f80.
- // FIXME: Avoid the extend by constructing the right constant pool?
SDValue Fudge = DAG.getExtLoad(
ISD::EXTLOAD, dl, MVT::f80, Chain, FudgePtr,
MachinePointerInfo::getConstantPool(DAG.getMachineFunction()), MVT::f32,
More information about the llvm-commits
mailing list