summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-11-11 07:24:36 +0000
committerCraig Topper <craig.topper@intel.com>2018-11-11 07:24:36 +0000
commit2eab39f77b7c7a51d2623176e602b5b8b9e05272 (patch)
tree5765f107fe5a4613874562b50d6357f40f183a0e /llvm/lib
parent45eb84f34044c2e3c83f420c9bbdcdf028eb80c4 (diff)
downloadbcm5719-llvm-2eab39f77b7c7a51d2623176e602b5b8b9e05272.tar.gz
bcm5719-llvm-2eab39f77b7c7a51d2623176e602b5b8b9e05272.zip
[X86] Use DAG.getConstant instead of getZeroVector.
llvm-svn: 346605
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/X86/X86ISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index 4de8e3d7108..6275e68db36 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -17560,7 +17560,7 @@ static SDValue LowerZERO_EXTEND_Mask(SDValue Op,
}
SDValue One = DAG.getConstant(1, DL, WideVT);
- SDValue Zero = getZeroVector(WideVT, Subtarget, DAG, DL);
+ SDValue Zero = DAG.getConstant(0, DL, WideVT);
SDValue SelectedVal = DAG.getSelect(DL, WideVT, In, One, Zero);
OpenPOWER on IntegriCloud