diff options
author | Owen Anderson <resistor@mac.com> | 2009-07-09 17:57:24 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-07-09 17:57:24 +0000 |
commit | 0504e0a2222b7c39d72c1a698a0ccedd9780b4cb (patch) | |
tree | 3a1577751845f3982c42b6f882abe4cc1f9e8ff3 /llvm/lib/VMCore/Verifier.cpp | |
parent | 17973e684d116b2fe6e450225875d702af75a4b1 (diff) | |
download | bcm5719-llvm-0504e0a2222b7c39d72c1a698a0ccedd9780b4cb.tar.gz bcm5719-llvm-0504e0a2222b7c39d72c1a698a0ccedd9780b4cb.zip |
Thread LLVMContext through MVT and related parts of SDISel.
llvm-svn: 75153
Diffstat (limited to 'llvm/lib/VMCore/Verifier.cpp')
-rw-r--r-- | llvm/lib/VMCore/Verifier.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/Verifier.cpp b/llvm/lib/VMCore/Verifier.cpp index da3fed0ff3c..5d800aff906 100644 --- a/llvm/lib/VMCore/Verifier.cpp +++ b/llvm/lib/VMCore/Verifier.cpp @@ -1619,7 +1619,7 @@ bool Verifier::PerformTypeCheck(Intrinsic::ID ID, Function *F, const Type *Ty, "vector elements!", F); return false; } - } else if (MVT((MVT::SimpleValueType)VT).getTypeForMVT() != EltTy) { + } else if (MVT((MVT::SimpleValueType)VT).getTypeForMVT(*Context) != EltTy) { CheckFailed(IntrinsicParam(ArgNo, NumRets) + " is wrong!", F); return false; } else if (EltTy != Ty) { |