projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c13e94
)
We'll return a null RC by default if we can't match.
author
Eric Christopher
<echristo@apple.com>
Fri, 1 Jul 2011 00:19:27 +0000
(
00:19
+0000)
committer
Eric Christopher
<echristo@apple.com>
Fri, 1 Jul 2011 00:19:27 +0000
(
00:19
+0000)
Part of rdar://
9119939
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134217
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMISelLowering.cpp
b/lib/Target/ARM/ARMISelLowering.cpp
index 22cd78f80bbf92b63c946a2f03ba9ff0642a10ad..1141f42f14dcdfc55b625b9de294d379695a10aa 100644
(file)
--- a/
lib/Target/ARM/ARMISelLowering.cpp
+++ b/
lib/Target/ARM/ARMISelLowering.cpp
@@
-7544,8
+7544,7
@@
ARMTargetLowering::getRegForInlineAsmConstraint(const std::string &Constraint,
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':