brintos

brintos / llvm-project-archived public Read only

0
0
Text · 454 B · ed6f2e5 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 i8 call argument.6 7define void @caller() {8  call void @bar_Struct(i8 123)9  ret void10}11 12declare void @bar_Struct(i8 %Arg)13 14; CHECK: ERROR: Missing extension attribute of passed value in call to function:15; CHECK: Callee:  void @bar_Struct(i8)16; CHECK: Caller:  void @caller()17