• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -asm-verbose=false -wasm-temporary-workarounds=false | FileCheck %s
2
3; Test main functions with alternate signatures.
4
5target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128"
6target triple = "wasm32-unknown-unknown"
7
8define void @main() {
9  ret void
10}
11
12; CHECK-LABEL: .L__original_main:
13; CHECK-NEXT: end_function
14
15; CHECK-LABEL: main:
16; CHECK-NEXT: .param i32, i32
17; CHECK-NEXT: .result i32
18; CHECK:      call .L__original_main@FUNCTION
19