xref: /llvm-project/llvm/test/Transforms/InstCombine/2004-12-08-RemInfiniteLoop.ll (revision 684a82fbc5434c9673c396b53e09baf902259a54)
1; RUN: opt < %s -passes=instcombine
2
3define i32 @test(i32 %X, i32 %Z) {
4        %Y = srem i32 %X, undef         ; <i32> [#uses=1]
5        ret i32 %Y
6}
7
8