-; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm
+; RUN: llc -mtriple=arm-eabi %s -o /dev/null
-%handler_installed.6144.b = external global bool ; <bool*> [#uses=1]
+@handler_installed.6144.b = external global i1 ; <i1*> [#uses=1]
-
-void %__mf_sigusr1_respond() {
+define void @__mf_sigusr1_respond() {
entry:
- %tmp8.b = load bool* %handler_installed.6144.b ; <bool> [#uses=1]
- br bool false, label %cond_true7, label %cond_next
+ %tmp8.b = load i1, i1* @handler_installed.6144.b ; <i1> [#uses=1]
+ br i1 false, label %cond_true7, label %cond_next
-cond_next: ; preds = %entry
- br bool %tmp8.b, label %bb, label %cond_next3
+cond_next: ; preds = %entry
+ br i1 %tmp8.b, label %bb, label %cond_next3
-cond_next3: ; preds = %cond_next
- ret void
+cond_next3: ; preds = %cond_next
+ ret void
-bb: ; preds = %cond_next
- ret void
+bb: ; preds = %cond_next
+ ret void
-cond_true7: ; preds = %entry
- ret void
+cond_true7: ; preds = %entry
+ ret void
}