Any x86 instruction that reads from an invariant location is invariant.
authorChris Lattner <sabre@nondot.org>
Sat, 12 Jan 2008 00:35:08 +0000 (00:35 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 12 Jan 2008 00:35:08 +0000 (00:35 +0000)
commit828bb6c97881fe4f2f27bdc9096ca3f795941253
treebe68378fe6d5f7bd29fae55348f295ae494c7330
parentaad193a7e9f8eb4b558e16c2b54c31dee54f5f1e
Any x86 instruction that reads from an invariant location is invariant.
This allows us to sink things like:
cvtsi2sd 32(%esp), %xmm1
when reading from the argument area, for example.

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