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/f64.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/f64.ll')
-rw-r--r-- | llvm/test/CodeGen/WebAssembly/f64.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/WebAssembly/f64.ll b/llvm/test/CodeGen/WebAssembly/f64.ll index a919bc87c84..b3cd39402df 100644 --- a/llvm/test/CodeGen/WebAssembly/f64.ll +++ b/llvm/test/CodeGen/WebAssembly/f64.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 ; Test that basic 64-bit floating-point operations assemble as expected. |