diff options
author | Wouter van Oortmerssen <aardappel@gmail.com> | 2018-08-27 15:45:51 +0000 |
---|---|---|
committer | Wouter van Oortmerssen <aardappel@gmail.com> | 2018-08-27 15:45:51 +0000 |
commit | 8a9cb242fb1a5fef9103a6df15d601ede83dba0b (patch) | |
tree | e5db7c6c38c6094df5363c442225dfe452007b62 /llvm/test/CodeGen/WebAssembly/function-bitcasts.ll | |
parent | 5bda3fad0044008fe54b99a39141381cced2487c (diff) | |
download | bcm5719-llvm-8a9cb242fb1a5fef9103a6df15d601ede83dba0b.tar.gz bcm5719-llvm-8a9cb242fb1a5fef9103a6df15d601ede83dba0b.zip |
[WebAssembly] Added default stack-only instruction mode for MC.
Summary:
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: sbc100, jgravelle-google, eraman, aheejin, llvm-commits, jfb
Differential Revision: https://reviews.llvm.org/D51241
llvm-svn: 340750
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..233a2b4468f 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-disable-explicit-locals -wasm-keep-registers -enable-emscripten-cxx-exceptions -wasm-temporary-workarounds=false | FileCheck %s ; Test that function pointer casts are replaced with wrappers. |