mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
f2f6ce65b7
input filename so that opt doesn't print the input filename in the output so that grep lines in the tests don't unintentionally match strings in the input filename. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81537 91177308-0d34-0410-b5e6-96231b3b80d8
21 lines
601 B
LLVM
21 lines
601 B
LLVM
; RUN: opt < %s -loop-reduce -disable-output
|
|
; PR 2537
|
|
|
|
define void @a() {
|
|
entry:
|
|
br label %dobody
|
|
|
|
dobody: ; preds = %dobody, %entry
|
|
%y.0 = phi i128 [ 0, %entry ], [ %add, %dobody ]
|
|
%x.0 = phi i128 [ 0, %entry ], [ %add2, %dobody ]
|
|
%add = add i128 %y.0, shl (i128 1, i128 64)
|
|
%add2 = add i128 %x.0, shl (i128 1, i128 48)
|
|
call void @b( i128 %add )
|
|
%cmp = icmp ult i128 %add2, shl (i128 1, i128 64)
|
|
br i1 %cmp, label %dobody, label %afterdo
|
|
|
|
afterdo: ; preds = %dobody
|
|
ret void
|
|
}
|
|
|
|
declare void @b(i128 %add) |