[llvm] r364596 - [WebAssembly] Enable an atomic.notify MC test

Heejin Ahn via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 27 14:22:04 PDT 2019


Author: aheejin
Date: Thu Jun 27 14:22:04 2019
New Revision: 364596

URL: http://llvm.org/viewvc/llvm-project?rev=364596&view=rev
Log:
[WebAssembly] Enable an atomic.notify MC test

Summary:
Assembly of atomic.notify has been fixed in r364576, so we can enable
it.

Reviewers: aardappel

Subscribers: dschuff, sbc100, jgravelle-google, sunfish, jfb, llvm-commits

Tags: #llvm

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

Modified:
    llvm/trunk/test/MC/WebAssembly/atomics-encodings.s

Modified: llvm/trunk/test/MC/WebAssembly/atomics-encodings.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/WebAssembly/atomics-encodings.s?rev=364596&r1=364595&r2=364596&view=diff
==============================================================================
--- llvm/trunk/test/MC/WebAssembly/atomics-encodings.s (original)
+++ llvm/trunk/test/MC/WebAssembly/atomics-encodings.s Thu Jun 27 14:22:04 2019
@@ -3,9 +3,8 @@
 main:
   .functype main () -> ()
 
-  # FIXME This doesn't work because of PR40728. Enable this once it's fixed.
-  # C HECK:  atomic.notify 0 # encoding: [0xfe,0x00,0x00,0x00]
-  # atomic.notify 0
+  # CHECK:  atomic.notify 0 # encoding: [0xfe,0x00,0x02,0x00]
+  atomic.notify 0
   # CHECK:  i32.atomic.wait 0 # encoding: [0xfe,0x01,0x02,0x00]
   i32.atomic.wait 0
   # CHECK:  i64.atomic.wait 0 # encoding: [0xfe,0x02,0x03,0x00]




More information about the llvm-commits mailing list