aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-09-10 00:35:09 +0000
committerEric Christopher <echristo@apple.com>2010-09-10 00:35:09 +0000
commit920a2089d9b737820631bc6de4c4fb9fa9ad1e07 (patch)
treeac2c531dade5b5fe78cbf1e52edde8283383c2a7
parentdb12b2ba9c602fc9bedcf0a9b2e72e23e29005d8 (diff)
downloadexternal_llvm-920a2089d9b737820631bc6de4c4fb9fa9ad1e07.zip
external_llvm-920a2089d9b737820631bc6de4c4fb9fa9ad1e07.tar.gz
external_llvm-920a2089d9b737820631bc6de4c4fb9fa9ad1e07.tar.bz2
Fix build error.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113566 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/ARM/ARMFastISel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMFastISel.cpp b/lib/Target/ARM/ARMFastISel.cpp
index 017c0a5..33b84e7 100644
--- a/lib/Target/ARM/ARMFastISel.cpp
+++ b/lib/Target/ARM/ARMFastISel.cpp
@@ -826,7 +826,7 @@ bool ARMFastISel::ARMSelectFPToSI(const Instruction *I) {
EVT DstVT;
const Type *RetTy = I->getType();
- if (!isTypeLegal(RetTy, VT))
+ if (!isTypeLegal(RetTy, DstVT))
return false;
unsigned Op = getRegForValue(I->getOperand(0));