summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-04 23:28:44 +0000
committerChris Lattner <sabre@nondot.org>2003-08-04 23:28:44 +0000
commit732a3883ed7191d03271e28eab92db4de5ee3d4f (patch)
tree96f3c4af38a4027eb000f51219bc54ad2b6053e4
parent148747e162ff5997db5143ea1799a45dd9823c41 (diff)
downloadbcm5719-llvm-732a3883ed7191d03271e28eab92db4de5ee3d4f.tar.gz
bcm5719-llvm-732a3883ed7191d03271e28eab92db4de5ee3d4f.zip
New testcase, identified by Vikram, reduced by Brian
llvm-svn: 7582
-rw-r--r--llvm/test/Regression/Jello/2003-08-04-PhysRegLiveFailure.llx15
1 files changed, 15 insertions, 0 deletions
diff --git a/llvm/test/Regression/Jello/2003-08-04-PhysRegLiveFailure.llx b/llvm/test/Regression/Jello/2003-08-04-PhysRegLiveFailure.llx
new file mode 100644
index 00000000000..a28823eed45
--- /dev/null
+++ b/llvm/test/Regression/Jello/2003-08-04-PhysRegLiveFailure.llx
@@ -0,0 +1,15 @@
+; RUN: as < %s | llc -march=x86
+
+target endian = big ; We need the byteswaps for this test!
+target pointersize = 64
+
+implementation
+
+long %main(long %s.1, long %e.1, ushort* %foo) {
+ %tmp.28 = load ushort* %foo
+ %tmp.39 = cast uint 0 to ushort*
+ %tmp.42 = sub long %e.1, %s.1
+ %tmp.441 = setge long %tmp.42, 0
+ %tmp.54 = getelementptr ushort* %tmp.39, long 0
+ ret long %s.1
+}
OpenPOWER on IntegriCloud