[PATCH] D80361: [WebAssembly] Convert more lld and MC tests to assembly

Thomas Lively via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 21 13:32:53 PDT 2020


tlively added a comment.

What is good documentation to read to become familiar with all the generic assembly directives? I could write a .ll test from scratch by hand, but I don't know the .s format well enough to write an assembly test from scratch. I would like to avoid my workflow becoming 1) write test as .ll then 2) run llc to get .s and commit the output.



================
Comment at: lld/test/wasm/Inputs/call-indirect.s:28
+
+  .functype foo () -> (i32)
----------------
Do I understand correctly that the `.int32 foo` declares a symbol `foo` and `.functype foo () -> (i32)` makes it a function symbol with that type?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D80361





More information about the llvm-commits mailing list