Mercurial > hg > CbC > CbC_llvm
view llvm/test/Transforms/Reassociate/2012-06-08-InfiniteLoop.ll @ 225:f7655407a6ba
remove unnecessary files
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 19 Jul 2021 03:48:36 +0900 |
parents | 1d019706d866 |
children | 1f2b6ac9f198 |
line wrap: on
line source
; RUN: opt < %s -reassociate -disable-output ; PR13041 define void @foo() { entry: br label %while.cond while.cond: ; preds = %while.body, %entry %b.0 = phi i32 [ undef, %entry ], [ %sub2, %while.body ] %c.0 = phi i32 [ undef, %entry ], [ %sub3, %while.body ] br i1 undef, label %while.end, label %while.body while.body: ; preds = %while.cond %sub = sub nsw i32 0, %b.0 %sub2 = sub nsw i32 %sub, %c.0 %sub3 = sub nsw i32 0, %c.0 br label %while.cond while.end: ; preds = %while.cond ret void }