mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
f2f6ce65b7
input filename so that opt doesn't print the input filename in the output so that grep lines in the tests don't unintentionally match strings in the input filename. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81537 91177308-0d34-0410-b5e6-96231b3b80d8
20 lines
381 B
LLVM
20 lines
381 B
LLVM
; RUN: opt < %s -predsimplify -S | grep -v %c
|
|
define void @foo(i8* %X, i8* %Y) {
|
|
entry:
|
|
%A = load i8* %X
|
|
%B = load i8* %Y
|
|
%a = icmp ult i8 %B, 10
|
|
br i1 %a, label %cond_true, label %URB
|
|
cond_true:
|
|
%b = icmp eq i8 %A, %B
|
|
br i1 %b, label %cond_true2, label %URB
|
|
cond_true2:
|
|
%c = icmp ult i8 %A, 11
|
|
call i8 @bar(i1 %c)
|
|
ret void
|
|
URB:
|
|
ret void
|
|
}
|
|
|
|
declare i8 @bar(i1)
|