1; RUN: llc -march=hexagon < %s | FileCheck %s
2
3target triple = "hexagon"
4
5; CHECK-LABEL: f0:
6; CHECK: memw({{.*}}) = clrbit(#18)
7define void @f0(i32* nocapture %a0) #0 {
8b0:
9  %v0 = load i32, i32* %a0, align 4, !tbaa !0
10  %v1 = and i32 %v0, -262145
11  store i32 %v1, i32* %a0, align 4, !tbaa !0
12  ret void
13}
14
15attributes #0 = { norecurse nounwind "target-cpu"="hexagonv60" "target-features"="+hvx,+hvx-length64b" }
16
17!0 = !{!1, !1, i64 0}
18!1 = !{!"int", !2, i64 0}
19!2 = !{!"omnipotent char", !3, i64 0}
20!3 = !{!"Simple C/C++ TBAA"}
21