projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
change isGlobalStubReference to take target flags instead of a MachineOperand.
[oota-llvm.git]
/
lib
/
Target
/
X86
/
X86ISelLowering.cpp
diff --git
a/lib/Target/X86/X86ISelLowering.cpp
b/lib/Target/X86/X86ISelLowering.cpp
index a1bd81b22fc5f4283d23d148e8b741d16932bd3b..28ee2c373983b42f7303669d4253ecad73b737ac 100644
(file)
--- a/
lib/Target/X86/X86ISelLowering.cpp
+++ b/
lib/Target/X86/X86ISelLowering.cpp
@@
-8839,6
+8839,7
@@
void X86TargetLowering::LowerAsmOperandForConstraint(SDValue Op,
// Otherwise, this isn't something we can handle, reject it.
return;
}
+
// If we require an extra load to get this address, as in PIC mode, we
// can't accept it.
if (Subtarget->GVRequiresExtraLoad(GA->getGlobal(), getTargetMachine()))