Don't scan physreg use-def chains looking for a PIC base.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 8 Aug 2012 00:40:47 +0000 (00:40 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 8 Aug 2012 00:40:47 +0000 (00:40 +0000)
commit130e603115129ec1a6b94550a15f7caea0cbf068
tree28a4c8203a80b25ffb5d0209708f6afbbc6a2a6f
parent5e63d43e48f6d0b597d21b83a1eed9eaf2febc93
Don't scan physreg use-def chains looking for a PIC base.

We can't rematerialize a PIC base after register allocation anyway, and
scanning physreg use-def chains is very expensive in a function with
many calls.

<rdar://problem/12047515>

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