diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2013-05-18 00:21:46 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2013-05-18 00:21:46 +0000 |
commit | 225ed7069caae9ece32d8bd3d15c6e41e21cc04b (patch) | |
tree | 228fdf5d71f34137d0a90abbae6bc5aa1d7f1d9d /lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp | |
parent | bab06ba696694e7f62f964af7ee5290a13f78340 (diff) | |
download | llvm-225ed7069caae9ece32d8bd3d15c6e41e21cc04b.tar.gz llvm-225ed7069caae9ece32d8bd3d15c6e41e21cc04b.tar.bz2 llvm-225ed7069caae9ece32d8bd3d15c6e41e21cc04b.tar.xz |
Add LLVMContext argument to getSetCCResultType
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182180 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp b/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp index 04c6bfd0c2..b6a3e90a7f 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp +++ b/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp @@ -2385,7 +2385,7 @@ SDValue DAGTypeLegalizer::WidenVecOp_SETCC(SDNode *N) { // Get a new SETCC node to compare the newly widened operands. // Only some of the compared elements are legal. - EVT SVT = TLI.getSetCCResultType(InOp0.getValueType()); + EVT SVT = TLI.getSetCCResultType(*DAG.getContext(), InOp0.getValueType()); SDValue WideSETCC = DAG.getNode(ISD::SETCC, N->getDebugLoc(), SVT, InOp0, InOp1, N->getOperand(2)); |