1 ; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64le-unknown-linux-gnu | FileCheck %s
3 ; PR30661 - https://llvm.org/bugs/show_bug.cgi?id=30661
5 define i32 @select_i32_neg1_or_0(i1 %a) {
6 ; CHECK-LABEL: select_i32_neg1_or_0:
8 ; CHECK-NEXT: clrldi 3, 3, 63
12 %b = sext i1 %a to i32
16 define i32 @select_i32_neg1_or_0_zeroext(i1 zeroext %a) {
17 ; CHECK-LABEL: select_i32_neg1_or_0_zeroext:
19 ; CHECK-NEXT: neg 3, 3
22 %b = sext i1 %a to i32