Skip to content

Commit

Permalink
New testcase, identified by Vikram, reduced by Brian
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7582 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
lattner committed Aug 4, 2003
1 parent 0bfd186 commit 579ebb8
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions test/Jello/2003-08-04-PhysRegLiveFailure.llx
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 579ebb8

Please sign in to comment.