Home | History | Annotate | Download | only in SCCP
      1 ; RUN: opt < %s -sccp -S | not grep select
      2 
      3 define i32 @test1(i1 %C) {
      4 	%X = select i1 %C, i32 0, i32 0		; <i32> [#uses=1]
      5 	ret i32 %X
      6 }
      7 
      8 define i32 @test2(i1 %C) {
      9 	%X = select i1 %C, i32 0, i32 undef		; <i32> [#uses=1]
     10 	ret i32 %X
     11 }
     12 
     13