summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/WebAssembly/func.ll
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2016-01-12 20:56:01 +0000
committerDan Gohman <dan433584@gmail.com>2016-01-12 20:56:01 +0000
commit4635017176efff6bf4b618d6f2ee822d0a7e52db (patch)
treec394a32bbc8e72a4a210918edb63d8c21920e92e /llvm/test/CodeGen/WebAssembly/func.ll
parent45c7439d11214d8b1a80edd9308537bb2d48c0e7 (diff)
downloadbcm5719-llvm-4635017176efff6bf4b618d6f2ee822d0a7e52db.tar.gz
bcm5719-llvm-4635017176efff6bf4b618d6f2ee822d0a7e52db.zip
[WebAssembly] Add a EM_WEBASSEMBLY value, and several bits of code that use it.
A request has been made to the official registry, but an official value is not yet available. This patch uses a temporary value in order to support development. When an official value is recieved, the value of EM_WEBASSEMBLY will be updated. llvm-svn: 257517
Diffstat (limited to 'llvm/test/CodeGen/WebAssembly/func.ll')
-rw-r--r--llvm/test/CodeGen/WebAssembly/func.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/WebAssembly/func.ll b/llvm/test/CodeGen/WebAssembly/func.ll
index 137d63197f6..9857dadee41 100644
--- a/llvm/test/CodeGen/WebAssembly/func.ll
+++ b/llvm/test/CodeGen/WebAssembly/func.ll
@@ -7,6 +7,7 @@ target triple = "wasm32-unknown-unknown"
; CHECK-LABEL: f0:
; CHECK: return{{$}}
+; CHECK: .endfunc{{$}}
; CHECK: .size f0,
define void @f0() {
ret void
OpenPOWER on IntegriCloud