[WebAssembly] Remove an unused def : Pat.
authorDan Gohman <dan433584@gmail.com>
Fri, 8 Jan 2016 00:50:33 +0000 (00:50 +0000)
committerDan Gohman <dan433584@gmail.com>
Fri, 8 Jan 2016 00:50:33 +0000 (00:50 +0000)
WebAssemblyISelLowering.cpp does not wrap jump table nodes inside of
WebAssemblywrapper nodes, so this pattern is not currently used.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257127 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/WebAssembly/WebAssemblyInstrInfo.td

index f0b4ce7caf5199f55e42eac844f1ba6faa71a82f..061a253816e4a07ec129f8f90d558396f96f5d90 100644 (file)
@@ -130,12 +130,10 @@ def CONST_F64 : I<(outs F64:$res), (ins f64imm:$imm),
 
 } // Defs = [ARGUMENTS]
 
-def : Pat<(i32 (WebAssemblywrapper tglobaladdr:$dst)),
-          (CONST_I32 tglobaladdr:$dst)>;
-def : Pat<(i32 (WebAssemblywrapper texternalsym:$dst)),
-          (CONST_I32 texternalsym:$dst)>;
-def : Pat<(i32 (WebAssemblywrapper tjumptable:$dst)),
-          (CONST_I32 tjumptable:$dst)>;
+def : Pat<(i32 (WebAssemblywrapper tglobaladdr:$addr)),
+          (CONST_I32 tglobaladdr:$addr)>;
+def : Pat<(i32 (WebAssemblywrapper texternalsym:$addr)),
+          (CONST_I32 texternalsym:$addr)>;
 
 let Defs = [ARGUMENTS] in {