[PATCH] D131387: [WebAssembly] Produce error when encountering unlowerable Wasm global accesses

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 8 09:11:43 PDT 2022


sbc100 added inline comments.


================
Comment at: llvm/test/CodeGen/WebAssembly/global-set-unlowerable.ll:22
+  %sel = phi ptr addrspace(1) [ @g1, %entry ], [ @g2, %if.then.i ]
+  store i32 100, ptr addrspace(1) %sel
+  ret void
----------------
Do these examples need to be this complex?  Can you just elide of the branching?  Why do we need to to different globals?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131387/new/

https://reviews.llvm.org/D131387



More information about the llvm-commits mailing list