mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 06:30:19 +00:00
69ccadd753
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32115 91177308-0d34-0410-b5e6-96231b3b80d8
19 lines
549 B
Plaintext
19 lines
549 B
Plaintext
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine -simplifycfg | llvm-dis | not grep br
|
|
|
|
%.str_1 = internal constant [6 x sbyte] c"_Bool\00" ; <[6 x sbyte]*> [#uses=1]
|
|
|
|
implementation
|
|
|
|
int %test() {
|
|
%tmp.54 = load sbyte* getelementptr (sbyte* getelementptr ([6 x sbyte]* %.str_1, long 0, long 0), long 1)
|
|
; <sbyte> [#uses=1]
|
|
%tmp.55 = setne sbyte %tmp.54, 66 ; <bool> [#uses=1]
|
|
br bool %tmp.55, label %then.7, label %endif.7
|
|
then.7:
|
|
br label %then.7
|
|
endif.7:
|
|
ret int 0
|
|
|
|
}
|
|
|