mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
ce7d5db4d8
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48536 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
353 B
LLVM
14 lines
353 B
LLVM
; RUN: llvm-as < %s | opt -predsimplify -disable-output
|
|
|
|
define void @diff(i32 %N) {
|
|
entry:
|
|
%tmp = icmp sgt i32 %N, 0 ; <i1> [#uses=1]
|
|
br i1 %tmp, label %bb519, label %bb744
|
|
bb519: ; preds = %entry
|
|
%tmp720101 = icmp slt i32 %N, 0 ; <i1> [#uses=1]
|
|
br i1 %tmp720101, label %bb744, label %bb744
|
|
bb744: ; preds = %bb519, %bb519, %entry
|
|
ret void
|
|
}
|
|
|