[llvm] 4664590 - [WebAssemlby] Remove redundant SDTypeProfile. NFC
Sam Clegg via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 2 12:21:49 PDT 2021
Author: Sam Clegg
Date: 2021-09-02T15:21:22-04:00
New Revision: 4664590d53e050d7c6e22f07caf33a5ecde2ba49
URL: https://github.com/llvm/llvm-project/commit/4664590d53e050d7c6e22f07caf33a5ecde2ba49
DIFF: https://github.com/llvm/llvm-project/commit/4664590d53e050d7c6e22f07caf33a5ecde2ba49.diff
LOG: [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
Added:
Modified:
llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.td
Removed:
################################################################################
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.td b/llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.td
index 0dda7b368029..7de15909af7f 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.td
+++ b/llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.td
@@ -77,8 +77,6 @@ def SDT_WebAssemblyLocalSet : SDTypeProfile<0, 2, [SDTCisVT<0, i32>]>;
def SDT_WebAssemblyReturn : SDTypeProfile<0, -1, []>;
def SDT_WebAssemblyWrapper : SDTypeProfile<1, 1, [SDTCisSameAs<0, 1>,
SDTCisPtrTy<0>]>;
-def SDT_WebAssemblyWrapperPIC : SDTypeProfile<1, 1, [SDTCisSameAs<0, 1>,
- SDTCisPtrTy<0>]>;
def SDT_WebAssemblyGlobalGet : SDTypeProfile<1, 1, [SDTCisPtrTy<1>]>;
def SDT_WebAssemblyGlobalSet : SDTypeProfile<0, 2, [SDTCisPtrTy<1>]>;
@@ -103,7 +101,7 @@ def WebAssemblyreturn : SDNode<"WebAssemblyISD::RETURN",
def WebAssemblyWrapper : SDNode<"WebAssemblyISD::Wrapper",
SDT_WebAssemblyWrapper>;
def WebAssemblyWrapperPIC : SDNode<"WebAssemblyISD::WrapperPIC",
- SDT_WebAssemblyWrapperPIC>;
+ SDT_WebAssemblyWrapper>;
def WebAssemblyglobal_get :
SDNode<"WebAssemblyISD::GLOBAL_GET", SDT_WebAssemblyGlobalGet,
[SDNPHasChain, SDNPMayLoad, SDNPMemOperand]>;
More information about the llvm-commits
mailing list