Skip to content

Commit 4664590

Browse files
committed
[WebAssemlby] Remove redundant SDTypeProfile. NFC
I added this back in https://reviews.llvm.org/D54647 but it wasn't actually needed. Differential Revision: https://reviews.llvm.org/D109176
1 parent 9d22754 commit 4664590

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.td

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,6 @@ def SDT_WebAssemblyLocalSet : SDTypeProfile<0, 2, [SDTCisVT<0, i32>]>;
7777
def SDT_WebAssemblyReturn : SDTypeProfile<0, -1, []>;
7878
def SDT_WebAssemblyWrapper : SDTypeProfile<1, 1, [SDTCisSameAs<0, 1>,
7979
SDTCisPtrTy<0>]>;
80-
def SDT_WebAssemblyWrapperPIC : SDTypeProfile<1, 1, [SDTCisSameAs<0, 1>,
81-
SDTCisPtrTy<0>]>;
8280
def SDT_WebAssemblyGlobalGet : SDTypeProfile<1, 1, [SDTCisPtrTy<1>]>;
8381
def SDT_WebAssemblyGlobalSet : SDTypeProfile<0, 2, [SDTCisPtrTy<1>]>;
8482

@@ -103,7 +101,7 @@ def WebAssemblyreturn : SDNode<"WebAssemblyISD::RETURN",
103101
def WebAssemblyWrapper : SDNode<"WebAssemblyISD::Wrapper",
104102
SDT_WebAssemblyWrapper>;
105103
def WebAssemblyWrapperPIC : SDNode<"WebAssemblyISD::WrapperPIC",
106-
SDT_WebAssemblyWrapperPIC>;
104+
SDT_WebAssemblyWrapper>;
107105
def WebAssemblyglobal_get :
108106
SDNode<"WebAssemblyISD::GLOBAL_GET", SDT_WebAssemblyGlobalGet,
109107
[SDNPHasChain, SDNPMayLoad, SDNPMemOperand]>;

0 commit comments

Comments
 (0)