diff options
author | Eric Christopher <echristo@apple.com> | 2010-09-10 00:35:09 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2010-09-10 00:35:09 +0000 |
commit | 712bd0a604115d34154231052da7238763f38fdf (patch) | |
tree | 4aa932c1f06a1a750a95947c14917a0474073ef2 /llvm/lib/Target/ARM/ARMFastISel.cpp | |
parent | 860fc9370f9cefaac67032c96b257395d3898fb6 (diff) | |
download | bcm5719-llvm-712bd0a604115d34154231052da7238763f38fdf.tar.gz bcm5719-llvm-712bd0a604115d34154231052da7238763f38fdf.zip |
Fix build error.
llvm-svn: 113566
Diffstat (limited to 'llvm/lib/Target/ARM/ARMFastISel.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/ARMFastISel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMFastISel.cpp b/llvm/lib/Target/ARM/ARMFastISel.cpp index 017c0a51ea8..33b84e7474e 100644 --- a/llvm/lib/Target/ARM/ARMFastISel.cpp +++ b/llvm/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)); |