1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=x86_64-windows-msvc | FileCheck %s --check-prefix=CHECK
3 ; RUN: llc < %s -mtriple=x86_64-windows-gnu | FileCheck %s --check-prefix=CHECK
5 define i32 @pass_bool(i1 zeroext %b) {
6 ; CHECK-LABEL: pass_bool:
7 ; CHECK: # %bb.0: # %entry
8 ; CHECK-NEXT: xorl %edx, %edx
9 ; CHECK-NEXT: testb %cl, %cl
10 ; CHECK-NEXT: movl $66, %eax
11 ; CHECK-NEXT: cmovel %edx, %eax
14 %cond = select i1 %b, i32 66, i32 0
18 define zeroext i1 @ret_true() {
19 ; CHECK-LABEL: ret_true:
20 ; CHECK: # %bb.0: # %entry
21 ; CHECK-NEXT: movb $1, %al