aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/XCore/2009-01-08-Crash.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/XCore/2009-01-08-Crash.ll')
-rw-r--r--test/CodeGen/XCore/2009-01-08-Crash.ll12
1 files changed, 0 insertions, 12 deletions
diff --git a/test/CodeGen/XCore/2009-01-08-Crash.ll b/test/CodeGen/XCore/2009-01-08-Crash.ll
deleted file mode 100644
index 5eddbc33761c..000000000000
--- a/test/CodeGen/XCore/2009-01-08-Crash.ll
+++ /dev/null
@@ -1,12 +0,0 @@
-; RUN: llc < %s -march=xcore > %t1.s
-;; This caused a compilation failure since the
-;; address arithmetic was folded into the LDWSP instruction,
-;; resulting in a negative offset which eliminateFrameIndex was
-;; unable to eliminate.
-define i32 @test(i32 %bar) nounwind readnone {
-entry:
- %bar_addr = alloca i32
- %0 = getelementptr i32, i32* %bar_addr, i32 -1
- %1 = load i32, i32* %0, align 4
- ret i32 %1
-}