[PATCH] D63898: [WebAssembly] Enable an atomic.notify MC test

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


aheejin created this revision.
aheejin added a reviewer: aardappel.
Herald added subscribers: llvm-commits, jfb, sunfish, jgravelle-google, sbc100, dschuff.
Herald added a project: LLVM.

Assembly of atomic.notify not has been fixed in r364576, we can enable
it.


Repository:
  rL LLVM

https://reviews.llvm.org/D63898

Files:
  test/MC/WebAssembly/atomics-encodings.s


Index: test/MC/WebAssembly/atomics-encodings.s
===================================================================
--- test/MC/WebAssembly/atomics-encodings.s
+++ test/MC/WebAssembly/atomics-encodings.s
@@ -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]


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63898.206934.patch
Type: text/x-patch
Size: 651 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190627/50cf3964/attachment.bin>


More information about the llvm-commits mailing list