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

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 20 23:06:06 PDT 2020


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

For the MC tests a lot of the remaining ones seem to partly be
CodeGen tests so need a closer look.

The the lld tests the transformation is a clear win I just haven't
had time to get to all of them yet.

A couple of places where this wasn't purely mechanical:

- When converting lld/test/wasm/call-indirect.ll I was write = better asm than llc so that output changed.
- For lld/test/wasm/bss-only.s Iadded some extra checks by exporting __data_end symbol.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D80361

Files:
  lld/test/wasm/Inputs/call-indirect.ll
  lld/test/wasm/Inputs/call-indirect.s
  lld/test/wasm/Inputs/hello.ll
  lld/test/wasm/Inputs/hello.s
  lld/test/wasm/Inputs/hidden.ll
  lld/test/wasm/Inputs/hidden.s
  lld/test/wasm/Inputs/ret32.ll
  lld/test/wasm/Inputs/ret32.s
  lld/test/wasm/Inputs/ret64.ll
  lld/test/wasm/Inputs/ret64.s
  lld/test/wasm/Inputs/start.ll
  lld/test/wasm/Inputs/start.s
  lld/test/wasm/alias.ll
  lld/test/wasm/alias.s
  lld/test/wasm/archive-export.ll
  lld/test/wasm/archive-no-index.ll
  lld/test/wasm/archive-no-index.s
  lld/test/wasm/archive-weak-undefined.ll
  lld/test/wasm/archive.ll
  lld/test/wasm/bss-only.ll
  lld/test/wasm/bss-only.s
  lld/test/wasm/call-indirect.ll
  lld/test/wasm/compress-relocs.ll
  lld/test/wasm/conflict.test
  lld/test/wasm/data-layout.ll
  lld/test/wasm/emit-relocs-fpic.s
  lld/test/wasm/emit-relocs.ll
  lld/test/wasm/entry-signature.ll
  lld/test/wasm/entry-signature.s
  lld/test/wasm/export-empty.test
  lld/test/wasm/export-table.test
  lld/test/wasm/fatal-warnings.ll
  lld/test/wasm/function-imports-first.ll
  lld/test/wasm/function-imports.ll
  lld/test/wasm/function-index.test
  lld/test/wasm/global-base.test
  lld/test/wasm/growable-table.test
  lld/test/wasm/import-memory.test
  lld/test/wasm/import-table.test
  lld/test/wasm/invalid-stack-size.test
  lld/test/wasm/large-memory.test
  lld/test/wasm/load-undefined.test
  lld/test/wasm/no-tls.ll
  lld/test/wasm/no-tls.test
  lld/test/wasm/optional-symbol.ll
  lld/test/wasm/optional-symbol.s
  lld/test/wasm/pic-static.ll
  lld/test/wasm/relocatable.ll
  lld/test/wasm/responsefile.test
  lld/test/wasm/shared-needed.ll
  lld/test/wasm/signature-mismatch-export.ll
  lld/test/wasm/signature-mismatch-unknown.ll
  lld/test/wasm/signature-mismatch.ll
  lld/test/wasm/stack-first.test
  lld/test/wasm/strip-all.test
  lld/test/wasm/strip-debug.test
  lld/test/wasm/symbol-type-mismatch.ll
  lld/test/wasm/symbol-type-mismatch.s
  lld/test/wasm/trace-symbol.ll
  lld/test/wasm/trace.test
  lld/test/wasm/undefined-entry.test
  lld/test/wasm/version.ll
  lld/test/wasm/version.s
  lld/test/wasm/visibility-hidden.ll
  lld/test/wasm/whole-archive.test
  llvm/test/MC/WebAssembly/blockaddress.ll
  llvm/test/MC/WebAssembly/blockaddress.s
  llvm/test/MC/WebAssembly/file-headers.ll
  llvm/test/MC/WebAssembly/file-headers.s
  llvm/test/MC/WebAssembly/visibility.ll
  llvm/test/MC/WebAssembly/visibility.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80361.265427.patch
Type: text/x-patch
Size: 45507 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200521/1cfbd76a/attachment.bin>


More information about the llvm-commits mailing list