blob: 008afa8a787d75791dd18bc01b914ab1b6afb205 [file] [log] [blame]
Dan Gohman18800922009-09-11 18:01:28 +00001; RUN: opt < %s -instcombine
Chris Lattnerace35e92004-12-08 22:18:35 +00002
Tanya Lattner5640bd12008-03-01 09:15:35 +00003define i32 @test(i32 %X) {
4 %Y = srem i32 %X, undef ; <i32> [#uses=1]
5 ret i32 %Y
Chris Lattnerace35e92004-12-08 22:18:35 +00006}
Tanya Lattner5640bd12008-03-01 09:15:35 +00007