diff options
author | Wouter van Oortmerssen <aardappel@gmail.com> | 2018-07-27 20:56:43 +0000 |
---|---|---|
committer | Wouter van Oortmerssen <aardappel@gmail.com> | 2018-07-27 20:56:43 +0000 |
commit | a67c4137c365e0169f0eb1248742bc635a8116db (patch) | |
tree | 5c04ec7f66cf837353610a9b70ad272e577a5ceb /llvm/test/CodeGen/WebAssembly/stack-alignment.ll | |
parent | 2d396a912a76f88f36f4f805d926884d4b08019c (diff) | |
download | bcm5719-llvm-a67c4137c365e0169f0eb1248742bc635a8116db.tar.gz bcm5719-llvm-a67c4137c365e0169f0eb1248742bc635a8116db.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: sbc100, jgravelle-google, eraman, aheejin, llvm-commits
Differential Revision: https://reviews.llvm.org/D49160
llvm-svn: 338164
Diffstat (limited to 'llvm/test/CodeGen/WebAssembly/stack-alignment.ll')
-rw-r--r-- | llvm/test/CodeGen/WebAssembly/stack-alignment.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/WebAssembly/stack-alignment.ll b/llvm/test/CodeGen/WebAssembly/stack-alignment.ll index 6f1939033a2..e485c188686 100644 --- a/llvm/test/CodeGen/WebAssembly/stack-alignment.ll +++ b/llvm/test/CodeGen/WebAssembly/stack-alignment.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -asm-verbose=false -disable-wasm-fallthrough-return-opt | FileCheck %s +; RUN: llc < %s -asm-verbose=false -disable-wasm-fallthrough-return-opt -wasm-explicit-locals-codegen-test-mode | FileCheck %s target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128" target triple = "wasm32-unknown-unknown" |