blob: 287640489a5e7a84e47e7723b3fcd1ee2ea1a773 [file] [log] [blame]
Arnold Schwaighofer0bb7f232012-08-13 19:54:01 +00001; RUN: llc -march=hexagon -mcpu=hexagonv4 < %s | FileCheck %s
2; CHECK: foo_empty
3; CHECK-NOT: allocframe
4; CHECK-NOT: memd(r29
5; CHECK: jump bar_empty
6
7define void @foo_empty(i32 %h) nounwind {
8entry:
9 %add = add nsw i32 %h, 3
10 %call = tail call i32 bitcast (i32 (...)* @bar_empty to i32 (i32)*)(i32 %add) nounwind
11 ret void
12}
13
14declare i32 @bar_empty(...)