From 54e138031e240a59c2fa52d29ccad35f63b885a6 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Fri, 10 Sep 2010 00:35:09 +0000 Subject: [PATCH] Fix build error. llvm-svn: 113566 --- lib/Target/ARM/ARMFastISel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/ARM/ARMFastISel.cpp b/lib/Target/ARM/ARMFastISel.cpp index 017c0a51ea8..33b84e7474e 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));