summaryrefslogtreecommitdiff
path: root/test/Transforms/LICM/2009-12-10-LICM-Indbr-Crash.ll
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2009-12-14 19:07:25 +0000
committerEric Christopher <echristo@apple.com>2009-12-14 19:07:25 +0000
commit38e1074c53e0ff3241c2ef541b2544440e1c8b66 (patch)
treece7c8c6c08ff4b0c4f753fbc0e7c266cde212396 /test/Transforms/LICM/2009-12-10-LICM-Indbr-Crash.ll
parentc219e4dd5919e2b72b80698fd50aa05e1580a55b (diff)
downloadllvm-38e1074c53e0ff3241c2ef541b2544440e1c8b66.tar.gz
llvm-38e1074c53e0ff3241c2ef541b2544440e1c8b66.tar.bz2
llvm-38e1074c53e0ff3241c2ef541b2544440e1c8b66.tar.xz
Add radar fixed in comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91312 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/LICM/2009-12-10-LICM-Indbr-Crash.ll')
-rw-r--r--test/Transforms/LICM/2009-12-10-LICM-Indbr-Crash.ll11
1 files changed, 6 insertions, 5 deletions
diff --git a/test/Transforms/LICM/2009-12-10-LICM-Indbr-Crash.ll b/test/Transforms/LICM/2009-12-10-LICM-Indbr-Crash.ll
index b350dfac37..e3cdbb3d2a 100644
--- a/test/Transforms/LICM/2009-12-10-LICM-Indbr-Crash.ll
+++ b/test/Transforms/LICM/2009-12-10-LICM-Indbr-Crash.ll
@@ -1,20 +1,21 @@
+; Test for rdar://7452967
; RUN: opt < %s -licm -disable-output
define void @foo (i8* %v)
{
entry:
br i1 undef, label %preheader, label %return
-
+
preheader:
br i1 undef, label %loop, label %return
-
+
loop:
indirectbr i8* undef, [label %preheader, label %stuff]
-
+
stuff:
%0 = load i8* undef, align 1
br label %loop
-
+
return:
ret void
-} \ No newline at end of file
+}