brintos

brintos / llvm-project-archived public Read only

0
0
Text · 217 B · ccf26e9 Raw
10 lines · plain
1; RUN: opt < %s -passes=instcombine2 3; This testcase should not send the instcombiner into an infinite loop!4 5define i32 @test(i32 %X) {6        %Y = srem i32 %X, 0             ; <i32> [#uses=1]7        ret i32 %Y8}9 10