mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-04 09:37:20 +00:00
Optimized stores to the constant pool, while cool, are unnecessary.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27948 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
37efe67645
commit
a766765358
@ -2323,9 +2323,6 @@ def : Pat<(add R32:$src1, (X86Wrapper tglobaladdr :$src2)),
|
||||
def : Pat<(add R32:$src1, (X86Wrapper texternalsym:$src2)),
|
||||
(ADD32ri R32:$src1, texternalsym:$src2)>;
|
||||
|
||||
// FIXME: can you really ever store to a constant pool?
|
||||
def : Pat<(store (X86Wrapper tconstpool:$src), addr:$dst),
|
||||
(MOV32mi addr:$dst, tconstpool:$src)>;
|
||||
def : Pat<(store (X86Wrapper tglobaladdr:$src), addr:$dst),
|
||||
(MOV32mi addr:$dst, tglobaladdr:$src)>;
|
||||
def : Pat<(store (X86Wrapper texternalsym:$src), addr:$dst),
|
||||
|
Loading…
x
Reference in New Issue
Block a user