From d9a6de3c3808961f525940fd9ff4c4617e4e52e1 Mon Sep 17 00:00:00 2001 From: Heejin Ahn Date: Tue, 9 Oct 2018 22:23:39 +0000 Subject: [WebAssembly] Improve readability of SIMD instructions (NFC) Summary: - Categorize instructions into the categories as in the SIMD spec - Move SIMD-related definition to WebAssemblyInstrSIMD.td - Put definition and use of patterns together - Add newlines here and there Reviewers: tlively Subscribers: dschuff, sbc100, jgravelle-google, sunfish, llvm-commits Differential Revision: https://reviews.llvm.org/D53045 llvm-svn: 344086 --- llvm/lib/Target/WebAssembly/WebAssemblyInstrFormats.td | 9 --------- 1 file changed, 9 deletions(-) (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyInstrFormats.td') diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyInstrFormats.td b/llvm/lib/Target/WebAssembly/WebAssemblyInstrFormats.td index c3ad3f78b61..683fb3d981f 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyInstrFormats.td +++ b/llvm/lib/Target/WebAssembly/WebAssemblyInstrFormats.td @@ -58,12 +58,3 @@ multiclass NRI pattern, string asmstr = "", bits<32> inst = -1> { defm "": I; } - -// Instructions requiring HasSIMD128 and the simd128 prefix byte -multiclass SIMD_I pattern_r, string asmstr_r = "", - string asmstr_s = "", bits<32> simdop = -1> { - defm "" : I, - Requires<[HasSIMD128]>; -} -- cgit v1.2.3