[llvm] r370581 - [X86ISelLowering] LowerSELECT - remove duplicate value type. NFCI.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 31 06:14:52 PDT 2019
Author: rksimon
Date: Sat Aug 31 06:14:52 2019
New Revision: 370581
URL: http://llvm.org/viewvc/llvm-project?rev=370581&view=rev
Log:
[X86ISelLowering] LowerSELECT - remove duplicate value type. NFCI.
VT of SELECT result and selection ops will be the same.
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=370581&r1=370580&r2=370581&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Sat Aug 31 06:14:52 2019
@@ -21133,8 +21133,6 @@ SDValue X86TargetLowering::LowerSELECT(S
CC = Cond.getOperand(0);
SDValue Cmp = Cond.getOperand(1);
- MVT VT = Op.getSimpleValueType();
-
bool IllegalFPCMov = false;
if (VT.isFloatingPoint() && !VT.isVector() &&
!isScalarFPTypeInSSEReg(VT)) // FPStack?
More information about the llvm-commits
mailing list