diff options
author | Wouter van Oortmerssen <aardappel@gmail.com> | 2018-08-10 21:32:47 +0000 |
---|---|---|
committer | Wouter van Oortmerssen <aardappel@gmail.com> | 2018-08-10 21:32:47 +0000 |
commit | ab26bd06476b67a78123774b8d9a1898c346cde8 (patch) | |
tree | a729a8677f101b295c16755f2c81f42b4ec54d07 /llvm/test/CodeGen/WebAssembly/function-bitcasts.ll | |
parent | 4b2e0b6c324f8b738313c50bf6f49c05fe6e84f8 (diff) | |
download | bcm5719-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/CodeGen/WebAssembly/function-bitcasts.ll')
-rw-r--r-- | llvm/test/CodeGen/WebAssembly/function-bitcasts.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/WebAssembly/function-bitcasts.ll b/llvm/test/CodeGen/WebAssembly/function-bitcasts.ll index 8e190b5c0ba..2ca39056823 100644 --- a/llvm/test/CodeGen/WebAssembly/function-bitcasts.ll +++ b/llvm/test/CodeGen/WebAssembly/function-bitcasts.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -asm-verbose=false -disable-wasm-explicit-locals -enable-emscripten-cxx-exceptions -wasm-temporary-workarounds=false | FileCheck %s +; RUN: llc < %s -asm-verbose=false -wasm-register-codegen-test-mode -enable-emscripten-cxx-exceptions -wasm-temporary-workarounds=false | FileCheck %s ; Test that function pointer casts are replaced with wrappers. |