diff options
author | Dan Gohman <dan433584@gmail.com> | 2016-05-21 00:21:56 +0000 |
---|---|---|
committer | Dan Gohman <dan433584@gmail.com> | 2016-05-21 00:21:56 +0000 |
commit | b7c2400fa744c032dc96a2e180f24425911bc794 (patch) | |
tree | 484ce7a4b2401ae6b97de9e54543eb83d598703b /llvm/test/CodeGen/WebAssembly/inline-asm.ll | |
parent | 2907e51246a8cf0a440fa1767f94dc10eda195eb (diff) | |
download | bcm5719-llvm-b7c2400fa744c032dc96a2e180f24425911bc794.tar.gz bcm5719-llvm-b7c2400fa744c032dc96a2e180f24425911bc794.zip |
[WebAssembly] Optimize away return instructions using fallthroughs.
This saves a small amount of code size, and is a first small step toward
passing values on the stack across block boundaries.
Differential Review: http://reviews.llvm.org/D20450
llvm-svn: 270294
Diffstat (limited to 'llvm/test/CodeGen/WebAssembly/inline-asm.ll')
-rw-r--r-- | llvm/test/CodeGen/WebAssembly/inline-asm.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/WebAssembly/inline-asm.ll b/llvm/test/CodeGen/WebAssembly/inline-asm.ll index 0d12e0323cf..d36c32b546d 100644 --- a/llvm/test/CodeGen/WebAssembly/inline-asm.ll +++ b/llvm/test/CodeGen/WebAssembly/inline-asm.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -asm-verbose=false -no-integrated-as | FileCheck %s +; RUN: llc < %s -asm-verbose=false -disable-wasm-fallthrough-return-opt -no-integrated-as | FileCheck %s ; Test basic inline assembly. Pass -no-integrated-as since these aren't ; actually valid assembly syntax. |