mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-07 19:47:09 +00:00
e1a875ef29
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7242 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
225 B
LLVM
14 lines
225 B
LLVM
; RUN: as < %s | opt -tailduplicate -disable-output
|
|
|
|
implementation
|
|
|
|
int %sum() {
|
|
entry:
|
|
br label %loopentry
|
|
|
|
loopentry:
|
|
%i.0 = phi int [ 1, %entry ], [ %tmp.3, %loopentry ]
|
|
%tmp.3 = add int %i.0, 1
|
|
br label %loopentry
|
|
}
|