mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-10 17:07:06 +00:00
36a0947820
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81290 91177308-0d34-0410-b5e6-96231b3b80d8
22 lines
413 B
LLVM
22 lines
413 B
LLVM
; RUN: llc < %s -march=x86 | grep movzbl
|
|
; PR3366
|
|
|
|
define void @_ada_c34002a() nounwind {
|
|
entry:
|
|
%0 = load i8* null, align 1
|
|
%1 = sdiv i8 90, %0
|
|
%2 = icmp ne i8 %1, 3
|
|
%3 = zext i1 %2 to i8
|
|
%toBool449 = icmp ne i8 %3, 0
|
|
%4 = or i1 false, %toBool449
|
|
%5 = zext i1 %4 to i8
|
|
%toBool450 = icmp ne i8 %5, 0
|
|
br i1 %toBool450, label %bb451, label %bb457
|
|
|
|
bb451:
|
|
br label %bb457
|
|
|
|
bb457:
|
|
unreachable
|
|
}
|