CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
96 lines
1.8 KiB
LLVM
96 lines
1.8 KiB
LLVM
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
|
|
; RUN: llc < %s -mattr=+avx512f | FileCheck %s
|
|
; RUN: llc < %s -mattr=+avx512f,+avx512vl,+avx512bw,+avx512dq | FileCheck %s
|
|
|
|
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
|
|
target triple = "x86_64-unknown-linux-gnu"
|
|
|
|
define i64 @foo64(i1 zeroext %i) #0 {
|
|
; CHECK-LABEL: foo64:
|
|
; CHECK: # %bb.0:
|
|
; CHECK-NEXT: movzbl %dil, %eax
|
|
; CHECK-NEXT: orq $-2, %rax
|
|
; CHECK-NEXT: retq
|
|
br label %bb
|
|
|
|
bb:
|
|
%z = zext i1 %i to i64
|
|
%v = or i64 %z, -2
|
|
br label %end
|
|
|
|
end:
|
|
ret i64 %v
|
|
}
|
|
|
|
define i16 @foo16(i1 zeroext %i) #0 {
|
|
; CHECK-LABEL: foo16:
|
|
; CHECK: # %bb.0:
|
|
; CHECK-NEXT: movzbl %dil, %eax
|
|
; CHECK-NEXT: orl $65534, %eax # imm = 0xFFFE
|
|
; CHECK-NEXT: # kill: def $ax killed $ax killed $eax
|
|
; CHECK-NEXT: retq
|
|
br label %bb
|
|
|
|
bb:
|
|
%z = zext i1 %i to i16
|
|
%v = or i16 %z, -2
|
|
br label %end
|
|
|
|
end:
|
|
ret i16 %v
|
|
}
|
|
|
|
define i16 @foo16_1(i1 zeroext %i, i32 %j) #0 {
|
|
; CHECK-LABEL: foo16_1:
|
|
; CHECK: # %bb.0:
|
|
; CHECK-NEXT: movzbl %dil, %eax
|
|
; CHECK-NEXT: orl $2, %eax
|
|
; CHECK-NEXT: # kill: def $ax killed $ax killed $eax
|
|
; CHECK-NEXT: retq
|
|
br label %bb
|
|
|
|
bb:
|
|
%z = zext i1 %i to i16
|
|
%v = or i16 %z, 2
|
|
br label %end
|
|
|
|
end:
|
|
ret i16 %v
|
|
}
|
|
|
|
define i32 @foo32(i1 zeroext %i) #0 {
|
|
; CHECK-LABEL: foo32:
|
|
; CHECK: # %bb.0:
|
|
; CHECK-NEXT: movzbl %dil, %eax
|
|
; CHECK-NEXT: orl $-2, %eax
|
|
; CHECK-NEXT: retq
|
|
br label %bb
|
|
|
|
bb:
|
|
%z = zext i1 %i to i32
|
|
%v = or i32 %z, -2
|
|
br label %end
|
|
|
|
end:
|
|
ret i32 %v
|
|
}
|
|
|
|
define i8 @foo8(i1 zeroext %i) #0 {
|
|
; CHECK-LABEL: foo8:
|
|
; CHECK: # %bb.0:
|
|
; CHECK-NEXT: movl %edi, %eax
|
|
; CHECK-NEXT: orb $-2, %al
|
|
; CHECK-NEXT: # kill: def $al killed $al killed $eax
|
|
; CHECK-NEXT: retq
|
|
br label %bb
|
|
|
|
bb:
|
|
%z = zext i1 %i to i8
|
|
%v = or i8 %z, -2
|
|
br label %end
|
|
|
|
end:
|
|
ret i8 %v
|
|
}
|
|
|