summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/WebAssembly/lower-em-ehsjlj-options.ll
diff options
context:
space:
mode:
authorWouter van Oortmerssen <aardappel@gmail.com>2018-08-27 15:45:51 +0000
committerWouter van Oortmerssen <aardappel@gmail.com>2018-08-27 15:45:51 +0000
commit8a9cb242fb1a5fef9103a6df15d601ede83dba0b (patch)
treee5db7c6c38c6094df5363c442225dfe452007b62 /llvm/test/CodeGen/WebAssembly/lower-em-ehsjlj-options.ll
parent5bda3fad0044008fe54b99a39141381cced2487c (diff)
downloadbcm5719-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/lower-em-ehsjlj-options.ll')
-rw-r--r--llvm/test/CodeGen/WebAssembly/lower-em-ehsjlj-options.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/WebAssembly/lower-em-ehsjlj-options.ll b/llvm/test/CodeGen/WebAssembly/lower-em-ehsjlj-options.ll
index 8283b49cd58..b86c192af29 100644
--- a/llvm/test/CodeGen/WebAssembly/lower-em-ehsjlj-options.ll
+++ b/llvm/test/CodeGen/WebAssembly/lower-em-ehsjlj-options.ll
@@ -39,9 +39,9 @@ entry:
%arraydecay1 = getelementptr inbounds [1 x %struct.__jmp_buf_tag], [1 x %struct.__jmp_buf_tag]* %buf, i32 0, i32 0
call void @longjmp(%struct.__jmp_buf_tag* %arraydecay1, i32 1) #1
unreachable
-; SJLJ: i32.call ${{[a-zA-Z0-9]+}}=, saveSetjmp@FUNCTION
-; SJLJ: i32.call ${{[a-zA-Z0-9]+}}=, testSetjmp@FUNCTION
-; NONE: i32.call ${{[a-zA-Z0-9]+}}=, setjmp@FUNCTION
+; SJLJ: i32.call saveSetjmp@FUNCTION
+; SJLJ: i32.call testSetjmp@FUNCTION
+; NONE: i32.call setjmp@FUNCTION
; NONE: call longjmp@FUNCTION
}
OpenPOWER on IntegriCloud