mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-29 10:32:47 +00:00
7b5376659c
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192431 91177308-0d34-0410-b5e6-96231b3b80d8
16 lines
283 B
LLVM
16 lines
283 B
LLVM
; RUN: llc -march=xcore < %s | FileCheck %s
|
|
|
|
; CHECK-LABEL: test:
|
|
; CHECK-NOT: zext
|
|
define void @test(i8* %s1) {
|
|
entry:
|
|
%u8 = load i8* %s1, align 1
|
|
%bool = icmp eq i8 %u8, 0
|
|
br label %BB1
|
|
BB1:
|
|
br i1 %bool, label %BB1, label %BB2
|
|
BB2:
|
|
br i1 %bool, label %BB1, label %BB2
|
|
}
|
|
|