[llvm] cc86a8a - [WebAssembly] Test i64x2.abs encoding

Thomas Lively via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 13 00:06:33 PDT 2021


Author: Thomas Lively
Date: 2021-04-13T00:06:25-07:00
New Revision: cc86a8aa53a316860da8c32b4817efd2609bd96f

URL: https://github.com/llvm/llvm-project/commit/cc86a8aa53a316860da8c32b4817efd2609bd96f
DIFF: https://github.com/llvm/llvm-project/commit/cc86a8aa53a316860da8c32b4817efd2609bd96f.diff

LOG: [WebAssembly] Test i64x2.abs encoding

This test was disabled despite the instruction having been implemented for a
long time. This commit just enables the test.

Differential Revision: https://reviews.llvm.org/D100345

Added: 
    

Modified: 
    llvm/test/MC/WebAssembly/simd-encodings.s

Removed: 
    


################################################################################
diff  --git a/llvm/test/MC/WebAssembly/simd-encodings.s b/llvm/test/MC/WebAssembly/simd-encodings.s
index c1047add02b48..3093fb2963444 100644
--- a/llvm/test/MC/WebAssembly/simd-encodings.s
+++ b/llvm/test/MC/WebAssembly/simd-encodings.s
@@ -597,7 +597,8 @@ main:
     # CHECK: i32x4.extmul_high_i16x8_u # encoding: [0xfd,0xbf,0x01]
     i32x4.extmul_high_i16x8_u
 
-    # TODO: i64x2.abs # encoding: [0xfd,0xc0,0x01]
+    # CHECK: i64x2.abs # encoding: [0xfd,0xc0,0x01]
+    i64x2.abs
 
     # CHECK: i64x2.neg # encoding: [0xfd,0xc1,0x01]
     i64x2.neg


        


More information about the llvm-commits mailing list