brintos

brintos / llvm-project-archived public Read only

0
0
Text · 327 B · 06e0dcd Raw
16 lines · plain
1; RUN: opt < %s -passes=instcombine -S | not grep bitcast2 3define i19 @test1(i43 %val) {4  %t1 = bitcast i43 %val to i43 5  %t2 = and i43 %t1, 16  %t3 = trunc i43 %t2 to i197  ret i19 %t38}9 10define i73 @test2(i677 %val) {11  %t1 = bitcast i677 %val to i677 12  %t2 = and i677 %t1, 113  %t3 = trunc i677 %t2 to i7314  ret i73 %t315}16