Add extload(i1) test.
authorLauro Ramos Venancio <lauro.venancio@gmail.com>
Thu, 4 Jan 2007 14:27:21 +0000 (14:27 +0000)
committerLauro Ramos Venancio <lauro.venancio@gmail.com>
Thu, 4 Jan 2007 14:27:21 +0000 (14:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32872 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/ARM/extloadi1.ll [new file with mode: 0644]

diff --git a/test/CodeGen/ARM/extloadi1.ll b/test/CodeGen/ARM/extloadi1.ll
new file mode 100644 (file)
index 0000000..b4dcd7f
--- /dev/null
@@ -0,0 +1,22 @@
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm
+
+%handler_installed.6144.b = external global bool                ; <bool*> [#uses=1]
+
+
+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
+
+cond_next:             ; preds = %entry
+       br bool %tmp8.b, label %bb, label %cond_next3
+
+cond_next3:            ; preds = %cond_next
+       ret void
+
+bb:            ; preds = %cond_next
+       ret void
+
+cond_true7:            ; preds = %entry
+       ret void
+}