llvm-project/llvm/test/CodeGen/WebAssembly
Wouter van Oortmerssen ab26bd0647 [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
2018-08-10 21:32:47 +00:00
..
add-prototypes.ll [WebAssembly] Add pass to infer prototypes for prototype-less functions 2018-07-11 04:29:36 +00:00
address-offsets.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
atomic-mem-consistency.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
atomic-rmw.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
byval.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
call.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
cfg-stackify-eh.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
cfg-stackify.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
cfi.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
comparisons_f32.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
comparisons_f64.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
comparisons_i32.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
comparisons_i64.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
conv-trap.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
conv.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
copysign-casts.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
cpus.ll [WebAsembly] Update default triple in test files to wasm32-unknown-unkown. 2018-05-10 17:49:11 +00:00
custom-sections.ll [WebAsembly] Update default triple in test files to wasm32-unknown-unkown. 2018-05-10 17:49:11 +00:00
dbgvalue.ll [WebAsembly] Update default triple in test files to wasm32-unknown-unkown. 2018-05-10 17:49:11 +00:00
dead-vreg.ll [WebAsembly] Update default triple in test files to wasm32-unknown-unkown. 2018-05-10 17:49:11 +00:00
divrem-constant.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
exception.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
explicit-locals.mir [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
f16.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
f32.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
f64.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
fast-isel-br-i1.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
fast-isel-i24.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
fast-isel-i256.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
fast-isel-noreg.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
fast-isel.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
frem.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
func.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
function-bitcasts-varargs.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
function-bitcasts.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
global.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
globl.ll [WebAsembly] Update default triple in test files to wasm32-unknown-unkown. 2018-05-10 17:49:11 +00:00
i32-load-store-alignment.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
i32.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
i64-load-store-alignment.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
i64.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
i128-returned.ll [WebAsembly] Update default triple in test files to wasm32-unknown-unkown. 2018-05-10 17:49:11 +00:00
i128.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
ident.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
immediates.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
implicit-def.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
import-module.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
indirect-import.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
inline-asm-m.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
inline-asm.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
irreducible-cfg.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
legalize.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
libcalls.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
lit.local.cfg
load-ext-atomic.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
load-ext.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
load-store-i1.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
load.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
lower-em-ehsjlj-options.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
lower-em-exceptions-whitelist.ll [WebAsembly] Update default triple in test files to wasm32-unknown-unkown. 2018-05-10 17:49:11 +00:00
lower-em-exceptions.ll [WebAssembly] Update WebAssemblyLowerEmscriptenEHSjLj to handle separate compilation 2018-07-17 16:40:03 +00:00
lower-em-sjlj.ll [WebAssembly] Update WebAssemblyLowerEmscriptenEHSjLj to handle separate compilation 2018-07-17 16:40:03 +00:00
lower-global-dtors.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
main-declaration.ll [WebAsembly] Update default triple in test files to wasm32-unknown-unkown. 2018-05-10 17:49:11 +00:00
main.ll [WebAsembly] Update default triple in test files to wasm32-unknown-unkown. 2018-05-10 17:49:11 +00:00
mem-intrinsics.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
memory-addr32.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
muloti4.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
negative-base-reg.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
non-executable-stack.ll [WebAsembly] Update default triple in test files to wasm32-unknown-unkown. 2018-05-10 17:49:11 +00:00
offset-atomics.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
offset-fastisel.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
offset-folding.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
offset.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
phi.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
reg-stackify.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
return-int32.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
return-void.ll [WebAsembly] Update default triple in test files to wasm32-unknown-unkown. 2018-05-10 17:49:11 +00:00
returned.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
select.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
signext-arg.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
signext-inreg.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
signext-zeroext.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
simd-arith.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
stack-alignment.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
store-trunc-atomic.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
store-trunc.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
store.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
switch.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
tls.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
umulo-i64.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
unreachable.ll [WebAsembly] Update default triple in test files to wasm32-unknown-unkown. 2018-05-10 17:49:11 +00:00
unsupported-function-bitcasts.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
unused-argument.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
userstack.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
varargs.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
vector-sdiv.ll [WebAssembly] Convert remaining tests from elf to wasm output format 2018-07-02 16:03:49 +00:00
vtable.ll [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-10 21:32:47 +00:00
wasmehprepare.ll [WebAssembly] Add Wasm exception handling prepare pass 2018-05-31 22:02:34 +00:00