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:
7b9f6b1
)
Translate "cc" clobber in ARM inline assembly to ARM::CCRRegisterClass.
author
Bob Wilson
<bob.wilson@apple.com>
Mon, 15 Mar 2010 23:09:18 +0000
(23:09 +0000)
committer
Bob Wilson
<bob.wilson@apple.com>
Mon, 15 Mar 2010 23:09:18 +0000
(23:09 +0000)
Radar
7459078
.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98586
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 5fae975ff74eb64dccff75f46b5a1fc80e464e55..8f208432ab7ee69fad8c4f3c8b1b734a28c869d3 100644
(file)
--- a/
lib/Target/ARM/ARMISelLowering.cpp
+++ b/
lib/Target/ARM/ARMISelLowering.cpp
@@
-4449,6
+4449,9
@@
ARMTargetLowering::getRegForInlineAsmConstraint(const std::string &Constraint,
break;
}
}
+ if (StringRef("{cc}").equals_lower(Constraint))
+ return std::make_pair(0U, ARM::CCRRegisterClass);
+
return TargetLowering::getRegForInlineAsmConstraint(Constraint, VT);
}