brintos

brintos / llvm-project-archived public Read only

0
0
Text · 210 B · 41f20a1 Raw
11 lines · plain
1; RUN: opt < %s -passes=instcombine -S | grep zext2; PR1261. 3 4define i16 @test(i31 %zzz) {5  %A = sext i31 %zzz to i326  %B = add i32 %A, 163847  %C = lshr i32 %B, 158  %D = trunc i32 %C to i169  ret i16 %D10}11