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:
505e982
)
make sure to propagate operand flags in SelectTLSADDRAddr properly.
author
Chris Lattner
<sabre@nondot.org>
Fri, 26 Jun 2009 21:18:37 +0000
(21:18 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 26 Jun 2009 21:18:37 +0000
(21:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74326
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86ISelDAGToDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86ISelDAGToDAG.cpp
b/lib/Target/X86/X86ISelDAGToDAG.cpp
index 0203353ec4b6c72a4d47715be3d29992f552f770..2efe3a2ba7b8b25437ef717988bf6a4e33feb6f2 100644
(file)
--- a/
lib/Target/X86/X86ISelDAGToDAG.cpp
+++ b/
lib/Target/X86/X86ISelDAGToDAG.cpp
@@
-1313,7
+1313,8
@@
bool X86DAGToDAGISel::SelectTLSADDRAddr(SDValue Op, SDValue N, SDValue &Base,
AM.GV = GA->getGlobal();
AM.Disp += GA->getOffset();
AM.Base.Reg = CurDAG->getRegister(0, N.getValueType());
-
+ AM.SymbolFlags = GA->getTargetFlags();
+
if (N.getValueType() == MVT::i32) {
AM.Scale = 1;
AM.IndexReg = CurDAG->getRegister(X86::EBX, MVT::i32);