From 579ebb8e0f1a9ee10c1f80898ce8d0756d91d664 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 4 Aug 2003 23:28:44 +0000 Subject: [PATCH] New testcase, identified by Vikram, reduced by Brian git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7582 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Jello/2003-08-04-PhysRegLiveFailure.llx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test/Jello/2003-08-04-PhysRegLiveFailure.llx diff --git a/test/Jello/2003-08-04-PhysRegLiveFailure.llx b/test/Jello/2003-08-04-PhysRegLiveFailure.llx new file mode 100644 index 00000000000..a28823eed45 --- /dev/null +++ b/test/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 +}