From a766765358a6b757e0d74bf0eae39f8b82ab8c9d Mon Sep 17 00:00:00 2001 From: Nate Begeman Date: Sat, 22 Apr 2006 22:31:45 +0000 Subject: [PATCH] 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 --- lib/Target/X86/X86InstrInfo.td | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/Target/X86/X86InstrInfo.td b/lib/Target/X86/X86InstrInfo.td index 84d824d8a0c..4ea13fe9b71 100644 --- 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), -- 2.34.1