Review nit.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51196 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/SemaChecking.cpp b/lib/Sema/SemaChecking.cpp
index 77f4226..ce0036e 100644
--- a/lib/Sema/SemaChecking.cpp
+++ b/lib/Sema/SemaChecking.cpp
@@ -226,8 +226,8 @@
return true;
}
- if (TheCall->getArg(0)->getType().getCanonicalType().getUnqualifiedType() !=
- TheCall->getArg(1)->getType().getCanonicalType().getUnqualifiedType()) {
+ if (FAType.getCanonicalType().getUnqualifiedType() !=
+ SAType.getCanonicalType().getUnqualifiedType()) {
Diag(TheCall->getLocStart(), diag::err_shufflevector_incompatible_vector,
SourceRange(TheCall->getArg(0)->getLocStart(),
TheCall->getArg(1)->getLocEnd()));