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:
428e75e
)
Alpha uses a got
author
Chris Lattner
<sabre@nondot.org>
Fri, 6 Oct 2006 22:46:51 +0000
(22:46 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 6 Oct 2006 22:46:51 +0000
(22:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30778
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
028e263
..
068e6b2
100644
(file)
--- a/
lib/Target/Alpha/AlphaISelLowering.cpp
+++ b/
lib/Target/Alpha/AlphaISelLowering.cpp
@@
-44,6
+44,8
@@
AlphaTargetLowering::AlphaTargetLowering(TargetMachine &TM) : TargetLowering(TM)
setSetCCResultType(MVT::i64);
setSetCCResultContents(ZeroOrOneSetCCResult);
+ setUsesGlobalOffsetTable(true);
+
addRegisterClass(MVT::i64, Alpha::GPRCRegisterClass);
addRegisterClass(MVT::f64, Alpha::F8RCRegisterClass);
addRegisterClass(MVT::f32, Alpha::F4RCRegisterClass);