summaryrefslogtreecommitdiff
path: root/test/CodeGen/WebAssembly
diff options
context:
space:
mode:
authorDerek Schuff <dschuff@google.com>2017-12-08 00:39:54 +0000
committerDerek Schuff <dschuff@google.com>2017-12-08 00:39:54 +0000
commited1cb75099f89e02b0e4a2d90f1cf31572c8a9dd (patch)
tree348500c811ba09bd9a137d6c7501b09c84f330d3 /test/CodeGen/WebAssembly
parentb04a69212cba7a3b64c322af211aa9afde0eceb3 (diff)
Revert "[WebAssemby] Support main functions with alternate signatures."
This reverts commit 959e37e669b0c3cfad4cb9f1f7c9261ce9f5e9ae. That commit doesn't handle the case where main is declared rather than defined, in particular the even-more special case where main is a prototypeless declaration (which is of course the one actually used by musl currently). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@320121 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/WebAssembly')
-rw-r--r--test/CodeGen/WebAssembly/main.ll18
1 files changed, 0 insertions, 18 deletions
diff --git a/test/CodeGen/WebAssembly/main.ll b/test/CodeGen/WebAssembly/main.ll
deleted file mode 100644
index 314dde28307..00000000000
--- a/test/CodeGen/WebAssembly/main.ll
+++ /dev/null
@@ -1,18 +0,0 @@
-; RUN: llc < %s -asm-verbose=false | FileCheck %s
-
-; Test main functions with alternate signatures.
-
-target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128"
-target triple = "wasm32-unknown-unknown-wasm"
-
-define void @main() {
- ret void
-}
-
-; CHECK-LABEL: .L__original_main:
-; CHECK-NEXT: end_function
-
-; CHECK-LABEL: main:
-; CHECK-NEXT: .param i32, i32
-; CHECK-NEXT: .result i32
-; CHECK: call .L__original_main@FUNCTION