You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.246
Former-commit-id: 0c7ce5b1a7851e13f22acfd379b7f9fb304e4833
This commit is contained in:
parent
a7724cd563
commit
279aa8f685
21
external/llvm/test/Transforms/LoopStrengthReduce/pr2537.ll
vendored
Normal file
21
external/llvm/test/Transforms/LoopStrengthReduce/pr2537.ll
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
; 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)
|
Reference in New Issue
Block a user