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:
3d821e2
)
we can't do this directly in lowering, so we need this case
author
Duraid Madina
<duraid@octopus.com.au>
Thu, 22 Dec 2005 07:14:45 +0000
(07:14 +0000)
committer
Duraid Madina
<duraid@octopus.com.au>
Thu, 22 Dec 2005 07:14:45 +0000
(07:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24951
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/IA64/IA64ISelDAGToDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/IA64/IA64ISelDAGToDAG.cpp
b/lib/Target/IA64/IA64ISelDAGToDAG.cpp
index
c135f31
..
1773650
100644
(file)
--- a/
lib/Target/IA64/IA64ISelDAGToDAG.cpp
+++ b/
lib/Target/IA64/IA64ISelDAGToDAG.cpp
@@
-343,6
+343,14
@@
SDOperand IA64DAGToDAGISel::Select(SDOperand Op) {
case ISD::Register: return Op; // XXX: this is a hack, tblgen one day?
+ case IA64ISD::GETFD: {
+ SDOperand Input = Select(N->getOperand(0));
+ SDOperand Result = CurDAG->getTargetNode(IA64::GETFD, MVT::i64, MVT::Flag, Input);
+ CodeGenMap[Op.getValue(0)] = Result;
+ CodeGenMap[Op.getValue(1)] = Result.getValue(1);
+ return Result.getValue(Op.ResNo);
+ }
+
case ISD::CALL:
case ISD::TAILCALL: { {
// FIXME: This is a workaround for a bug in tblgen.