1; RUN: llc -O0 -march=hexagon < %s | FileCheck %s
2; CHECK: and(r29,#-32)
3; CHECK-DAG: add(r29,#0)
4; CHECK-DAG: add(r29,#28)
5
6target triple = "hexagon-unknown-unknown"
7
8; Function Attrs: nounwind uwtable
9define void @foo() #0 {
10entry:
11  %x = alloca i32, align 4
12  %y = alloca i32, align 32
13  %0 = bitcast i32* %x to i8*
14  %1 = bitcast i32* %y to i8*
15  call void @bar(i8* %0, i8* %1)
16  ret void
17}
18
19declare void @bar(i8*, i8*) #0
20
21attributes #0 = { nounwind }
22