forked from OSchip/llvm-project
parent
3151dec7f1
commit
a3e36da6f2
|
@ -146,3 +146,15 @@ define i8 @select07(i8 %a.0, i8 %b.0, i8 %m) {
|
|||
%res = bitcast <8 x i1> %r to i8
|
||||
ret i8 %res;
|
||||
}
|
||||
|
||||
define i64 @pr30249() {
|
||||
; CHECK-LABEL: pr30249:
|
||||
; CHECK: ## BB#0:
|
||||
; CHECK-NEXT: xorl %ecx, %ecx
|
||||
; CHECK-NEXT: cmpb $1, %cl
|
||||
; CHECK-NEXT: movl $1, %eax
|
||||
; CHECK-NEXT: adcxq %rcx, %rax
|
||||
; CHECK-NEXT: retq
|
||||
%v = select i1 undef , i64 1, i64 2
|
||||
ret i64 %v
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue