brintos

brintos / llvm-project-archived public Read only

0
0
Text · 458 B · 8b5f421 Raw
17 lines · plain
1; RUN: not --crash llc < %s -mtriple=s390x-linux-gnu -argext-abi-check 2>&1 \2; RUN:   | FileCheck %s3; REQUIRES: asserts4;5; Test detection of missing extension of an outgoing i16 call argument.6 7define void @caller() {8  call void @bar_Struct(i16 123)9  ret void10}11 12declare void @bar_Struct(i16 %Arg)13 14; CHECK: ERROR: Missing extension attribute of passed value in call to function:15; CHECK: Callee:  void @bar_Struct(i16)16; CHECK: Caller:  void @caller()17