summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/WebAssembly/reloc-code.ll
diff options
context:
space:
mode:
authorWouter van Oortmerssen <aardappel@gmail.com>2018-08-10 21:32:47 +0000
committerWouter van Oortmerssen <aardappel@gmail.com>2018-08-10 21:32:47 +0000
commitab26bd06476b67a78123774b8d9a1898c346cde8 (patch)
treea729a8677f101b295c16755f2c81f42b4ec54d07 /llvm/test/MC/WebAssembly/reloc-code.ll
parent4b2e0b6c324f8b738313c50bf6f49c05fe6e84f8 (diff)
downloadbcm5719-llvm-ab26bd06476b67a78123774b8d9a1898c346cde8.tar.gz
bcm5719-llvm-ab26bd06476b67a78123774b8d9a1898c346cde8.zip
[WebAssembly] Added default stack-only instruction mode for MC.
Summary: Moved Explicit Locals pass to last. Made that pass obligatory. Made it convert from register to stack based instructions, and removed the registers. Fixes to related code that was expecting register based instructions. Added the correct testing flag to all tests, depending on what the format they were expecting so far. Translated one test to stack format as example: reg-stackify-stack.ll tested: llvm-lit -v `find test -name WebAssembly` unittests/MC/* Reviewers: dschuff, sunfish Subscribers: jfb, llvm-commits, aheejin, eraman, jgravelle-google, sbc100 Differential Revision: https://reviews.llvm.org/D50568 llvm-svn: 339474
Diffstat (limited to 'llvm/test/MC/WebAssembly/reloc-code.ll')
-rw-r--r--llvm/test/MC/WebAssembly/reloc-code.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/MC/WebAssembly/reloc-code.ll b/llvm/test/MC/WebAssembly/reloc-code.ll
index 875477ce0d5..2f1c1141644 100644
--- a/llvm/test/MC/WebAssembly/reloc-code.ll
+++ b/llvm/test/MC/WebAssembly/reloc-code.ll
@@ -1,4 +1,4 @@
-; RUN: llc -filetype=obj %s -o - | llvm-readobj -r -expand-relocs | FileCheck %s
+; RUN: llc -filetype=obj -wasm-explicit-locals-codegen-test-mode %s -o - | llvm-readobj -r -expand-relocs | FileCheck %s
target triple = "wasm32-unknown-unknown"
OpenPOWER on IntegriCloud