brintos

brintos / llvm-project-archived public Read only

0
0
Text · 692 B · fa59505 Raw
22 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -asm-verbose=false -wasm-disable-explicit-locals -wasm-keep-registers | FileCheck %s3 4target triple = "wasm32-unknown-unknown"5 6declare i32 @get_int(i16 %arg)7 8define i32 @func_1(i16 %arg1 , i32 %arg2) #0 {9; CHECK-LABEL: func_1:10; CHECK:         i32.const $push1=, 1611; CHECK-NEXT:    i32.shl $push2=, $0, $pop112; CHECK-NEXT:    i32.const $push4=, 1613; CHECK-NEXT:    i32.shr_s $push3=, $pop2, $pop414; CHECK-NEXT:    call $push0=, get_int, $pop315; CHECK-NEXT:    end_function16entry:17  %retval = call i32 @get_int(i16 signext %arg1)18  ret i32 %retval19}20 21attributes #0 = {noinline nounwind optnone}22