[llvm] r327602 - [X86] Use MVT in a couple places where we know the type is legal.
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 14 23:14:51 PDT 2018
Author: ctopper
Date: Wed Mar 14 23:14:51 2018
New Revision: 327602
URL: http://llvm.org/viewvc/llvm-project?rev=327602&view=rev
Log:
[X86] Use MVT in a couple places where we know the type is legal.
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=327602&r1=327601&r2=327602&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Wed Mar 14 23:14:51 2018
@@ -30499,7 +30499,7 @@ static SDValue combineShuffleToAddSubOrF
if (!isAddSubOrSubAdd(N, Subtarget, Opnd0, Opnd1))
return SDValue();
- EVT VT = N->getValueType(0);
+ MVT VT = N->getSimpleValueType(0);
SDLoc DL(N);
// Try to generate X86ISD::FMADDSUB node here.
@@ -30525,7 +30525,7 @@ static SDValue combineShuffleToFMSubAdd(
if (!isAddSubOrSubAdd(N, Subtarget, Opnd0, Opnd1, true))
return SDValue();
- EVT VT = N->getValueType(0);
+ MVT VT = N->getSimpleValueType(0);
SDLoc DL(N);
// Try to generate X86ISD::FMSUBADD node here.
More information about the llvm-commits
mailing list