ELF / PIC requires GOT be in the EBX register during calls via PLT GOT pointer.
authorEvan Cheng <evan.cheng@apple.com>
Wed, 21 Feb 2007 21:18:14 +0000 (21:18 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 21 Feb 2007 21:18:14 +0000 (21:18 +0000)
commitf46847172afea92d73829147a6d9d18cde45ffd7
tree21889ac1f10db24222e8751dacfb426633c71393
parent07d49acbf93709381430560f86e279a0af724462
ELF / PIC requires GOT be in the EBX register during calls via PLT GOT pointer.
Add implicit uses of EBX to calls to ensure liveintervalanalysis does not treat
the GOT in EBX move as dead upon definition.
This should fix PR1207.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34470 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp