OSDN Git Service

[WebAssembly] Added test for inline assembly roundtrip.
authorWouter van Oortmerssen <aardappel@gmail.com>
Tue, 23 Oct 2018 00:12:49 +0000 (00:12 +0000)
committerWouter van Oortmerssen <aardappel@gmail.com>
Tue, 23 Oct 2018 00:12:49 +0000 (00:12 +0000)
commitd248358db82ed2344221e4a37c2fdc74c5b1f6bf
tree4f8edd148f67ab8961e85f5d85ea6e4a2485e367
parent4d0646db972a7c2fb2ea0a86bbc153d392c31a74
[WebAssembly] Added test for inline assembly roundtrip.

Summary:
Due to previous work to make WebAssembly MC by default stack-only
inline assembly now "just works" (previously it didn't since it had
no way to know types of registers), so no further work required.

So far we only have tests (in inline-asm.ll) which test with
non-existing instructions, so this adds a test that roundtrips
both the inline assembly and its surrounding code thru the assembler.

Reviewers: dschuff, sunfish

Subscribers: sbc100, jgravelle-google, eraman, aheejin, llvm-commits

Differential Revision: https://reviews.llvm.org/D52914

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@344977 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/WebAssembly/inline-asm-roundtrip.ll [new file with mode: 0644]