Skip to content

Commit

Permalink
use local variables; NFC
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228452 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
rotateright committed Feb 6, 2015
1 parent 42f3b50 commit af0a078
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/Target/X86/X86ISelLowering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12759,8 +12759,7 @@ X86TargetLowering::LowerVECTOR_SHUFFLE(SDValue Op, SelectionDAG &DAG) const {
DAG);

unsigned MaskValue;
if (isBlendMask(M, VT, Subtarget->hasSSE41(), Subtarget->hasInt256(),
&MaskValue))
if (isBlendMask(M, VT, Subtarget->hasSSE41(), HasInt256, &MaskValue))
return LowerVECTOR_SHUFFLEtoBlend(SVOp, MaskValue, Subtarget, DAG);

if (isSHUFPMask(M, VT))
Expand Down Expand Up @@ -12838,7 +12837,7 @@ X86TargetLowering::LowerVECTOR_SHUFFLE(SDValue Op, SelectionDAG &DAG) const {
return NewOp;
}

if (VT == MVT::v16i16 && Subtarget->hasInt256()) {
if (VT == MVT::v16i16 && HasInt256) {
SDValue NewOp = LowerVECTOR_SHUFFLEv16i16(Op, DAG);
if (NewOp.getNode())
return NewOp;
Expand Down

0 comments on commit af0a078

Please sign in to comment.