[llvm-commits] [llvm] r134217 - /llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp
Eric Christopher
echristo at apple.com
Thu Jun 30 17:19:27 PDT 2011
Author: echristo
Date: Thu Jun 30 19:19:27 2011
New Revision: 134217
URL: http://llvm.org/viewvc/llvm-project?rev=134217&view=rev
Log:
We'll return a null RC by default if we can't match.
Part of rdar://9119939
Modified:
llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp?rev=134217&r1=134216&r2=134217&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp Thu Jun 30 19:19:27 2011
@@ -7544,8 +7544,7 @@
case 'h': // High regs or no regs.
if (Subtarget->isThumb())
return RCPair(0U, ARM::hGPRRegisterClass);
- else
- return RCPair(0U, static_cast<const TargetRegisterClass*>(0));
+ break;
case 'r':
return RCPair(0U, ARM::GPRRegisterClass);
case 'w':
More information about the llvm-commits
mailing list