OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d8aa34
)
Make sure we use the correct register class here since we'll need to
author
Eric Christopher
<echristo@apple.com>
Thu, 30 Jun 2011 01:05:46 +0000
(
01:05
+0000)
committer
Eric Christopher
<echristo@apple.com>
Thu, 30 Jun 2011 01:05:46 +0000
(
01:05
+0000)
care about spill values.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134122
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/Alpha/AlphaISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/Alpha/AlphaISelLowering.cpp
b/lib/Target/Alpha/AlphaISelLowering.cpp
index
54433a4
..
daf9555
100644
(file)
--- a/
lib/Target/Alpha/AlphaISelLowering.cpp
+++ b/
lib/Target/Alpha/AlphaISelLowering.cpp
@@
-835,7
+835,8
@@
getRegForInlineAsmConstraint(const std::string &Constraint, EVT VT) const
case 'r':
return std::make_pair(0U, Alpha::GPRCRegisterClass);
case 'f':
- return std::make_pair(0U, Alpha::F4RCRegisterClass);
+ return VT == MVT::f64 ? std::make_pair(0U, Alpha::F8RCRegisterClass) :
+ std::make_pair(0U, Alpha::F4RCRegisterClass);
}
}
return TargetLowering::getRegForInlineAsmConstraint(Constraint, VT);