diff options
| author | Craig Topper <craig.topper@intel.com> | 2018-01-11 07:19:29 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@intel.com> | 2018-01-11 07:19:29 +0000 |
| commit | d1696e8d6c5464d4a57bcbafefd2efa32b9730ce (patch) | |
| tree | 7763b0c828549c0081ad618c01f856cf7306550d /llvm/lib | |
| parent | bf8751dc48a5469181846475df311867ff35daee (diff) | |
| download | bcm5719-llvm-d1696e8d6c5464d4a57bcbafefd2efa32b9730ce.tar.gz bcm5719-llvm-d1696e8d6c5464d4a57bcbafefd2efa32b9730ce.zip | |
[X86] Fix unused variable in release builds.
llvm-svn: 322262
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/X86/X86ISelLowering.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp index ff7ea5d38f5..a08958e72eb 100644 --- a/llvm/lib/Target/X86/X86ISelLowering.cpp +++ b/llvm/lib/Target/X86/X86ISelLowering.cpp @@ -24369,7 +24369,6 @@ static SDValue LowerMSCATTER(SDValue Op, const X86Subtarget &Subtarget, } MVT IndexVT = Index.getSimpleValueType(); - MVT MaskVT = Mask.getSimpleValueType(); // If the index is v2i32, we're being called by type legalization and we // should just let the default handling take care of it. @@ -24397,7 +24396,8 @@ static SDValue LowerMSCATTER(SDValue Op, const X86Subtarget &Subtarget, // Mask // At this point we have promoted mask operand - assert(MaskVT.getScalarType() == MVT::i1 && "unexpected mask type"); + assert(Mask.getValueType().getScalarType() == MVT::i1 && + "unexpected mask type"); MVT ExtMaskVT = MVT::getVectorVT(MVT::i1, NumElts); // Use the original mask here, do not modify the mask twice Mask = ExtendToType(N->getMask(), ExtMaskVT, DAG, true); |

