brintos

brintos / llvm-project-archived public Read only

0
0
Text · 233 B · 2ee2ba5 Raw
11 lines · plain
1; RUN: opt < %s -passes=instcombine -S | \2; RUN:   not grep undef3 4define i32 @test(i8 %A) {5        %B = sext i8 %A to i32          ; <i32> [#uses=1]6        %C = ashr i32 %B, 8             ; <i32> [#uses=1]7        ret i32 %C8}9 10 11