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