From 3288f13270360d667bf13f6393435cfa4e282c2c Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Fri, 10 Sep 2010 00:35:09 +0000 Subject: Fix build error. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113566 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/ARMFastISel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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)); -- cgit v1.1