mirror of
https://github.com/RPCSX/llvm.git
synced 2025-03-02 01:47:06 +00:00
Revert an unintended change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32239 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
28b51439f3
commit
953fa0455e
@ -907,7 +907,7 @@ bool X86DAGToDAGISel::SelectLEAAddr(SDOperand Op, SDOperand N,
|
||||
if (AM.GV || AM.CP || AM.ES || AM.JT != -1) {
|
||||
// For X86-64, we should always use lea to materialize RIP relative
|
||||
// addresses.
|
||||
if (Subtarget->is64Bit() && TM.getRelocationModel() != Reloc::Static)
|
||||
if (Subtarget->is64Bit())
|
||||
Complexity = 4;
|
||||
else
|
||||
Complexity += 2;
|
||||
|
Loading…
x
Reference in New Issue
Block a user