blob: e4900ee74a44a952bb56078d4c98e4da60c84e87 [file] [log] [blame]
Krzysztof Parzyszek046090d2018-03-12 14:01:28 +00001; RUN: llc -march=hexagon < %s | FileCheck %s
2
3; Test that the assignment to r29 does not occur in the same packet as the call.
4
5; CHECK: call
6; CHECK: }
7; CHECK: r29 = #0
8
9define protected void @f0(i8* %a0, i8* %a1, ...) local_unnamed_addr {
10b0:
11 call void @llvm.va_start(i8* nonnull undef)
12 call void @f1()
13 call void @llvm.stackrestore(i8* null)
14 ret void
15}
16
17; Function Attrs: nounwind
18declare void @llvm.va_start(i8*) #0
19
20declare protected void @f1() local_unnamed_addr
21
22; Function Attrs: nounwind
23declare void @llvm.stackrestore(i8*) #0
24
25attributes #0 = { nounwind }