mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-20 09:30:43 +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
22 lines
313 B
LLVM
22 lines
313 B
LLVM
; RUN: opt < %s -jump-threading | llvm-dis
|
|
; PR3353
|
|
|
|
define i32 @test(i8 %X) {
|
|
entry:
|
|
%Y = add i8 %X, 1
|
|
%Z = add i8 %Y, 1
|
|
br label %bb33.i
|
|
|
|
bb33.i: ; preds = %bb33.i, %bb32.i
|
|
switch i8 %Y, label %bb32.i [
|
|
i8 39, label %bb35.split.i
|
|
i8 13, label %bb33.i
|
|
]
|
|
|
|
bb35.split.i:
|
|
ret i32 5
|
|
bb32.i:
|
|
ret i32 1
|
|
}
|
|
|