projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37efe67
)
Optimized stores to the constant pool, while cool, are unnecessary.
author
Nate Begeman
<natebegeman@mac.com>
Sat, 22 Apr 2006 22:31:45 +0000
(22:31 +0000)
committer
Nate Begeman
<natebegeman@mac.com>
Sat, 22 Apr 2006 22:31:45 +0000
(22:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27948
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86InstrInfo.td
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86InstrInfo.td
b/lib/Target/X86/X86InstrInfo.td
index 84d824d8a0c3f38afb4c421fa01def9aea1279ea..4ea13fe9b71e7649971a02ef60b5a0244314a5b9 100644
(file)
--- a/
lib/Target/X86/X86InstrInfo.td
+++ b/
lib/Target/X86/X86InstrInfo.td
@@
-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),