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
137 lines
2.0 KiB
LLVM
137 lines
2.0 KiB
LLVM
; RUN: llc -verify-machineinstrs -O0 -mcpu=pwr7 -mtriple=powerpc64le-unknown-unknown < %s | FileCheck %s
|
|
|
|
define zeroext i32 @f1() {
|
|
entry:
|
|
ret i32 65535
|
|
}
|
|
; CHECK-LABEL: @f1
|
|
; CHECK: lis 3, 0
|
|
; CHECK: ori 3, 3, 65535
|
|
|
|
define zeroext i32 @f2() {
|
|
entry:
|
|
ret i32 32768
|
|
}
|
|
; CHECK-LABEL: @f2
|
|
; CHECK: lis 3, 0
|
|
; CHECK: ori 3, 3, 32768
|
|
|
|
define zeroext i32 @f3() {
|
|
entry:
|
|
ret i32 32767
|
|
}
|
|
; CHECK-LABEL: @f3
|
|
; CHECK: li 3, 32767
|
|
|
|
define zeroext i16 @f4() {
|
|
entry:
|
|
ret i16 65535
|
|
}
|
|
; CHECK-LABEL: @f4
|
|
; CHECK: lis 3, 0
|
|
; CHECK: ori 3, 3, 65535
|
|
|
|
define zeroext i16 @f5() {
|
|
entry:
|
|
ret i16 32768
|
|
}
|
|
; CHECK-LABEL: @f5
|
|
; CHECK: lis 3, 0
|
|
; CHECK: ori 3, 3, 32768
|
|
|
|
define zeroext i16 @f6() {
|
|
entry:
|
|
ret i16 32767
|
|
}
|
|
; CHECK-LABEL: @f6
|
|
; CHECK: li 3, 32767
|
|
|
|
define zeroext i16 @f7() {
|
|
entry:
|
|
ret i16 -1
|
|
}
|
|
; CHECK-LABEL: @f7
|
|
; CHECK: lis 3, 0
|
|
; CHECK: ori 3, 3, 65535
|
|
|
|
define zeroext i16 @f8() {
|
|
entry:
|
|
ret i16 -32768
|
|
}
|
|
; CHECK-LABEL: @f8
|
|
; CHECK: lis 3, 0
|
|
; CHECK: ori 3, 3, 32768
|
|
|
|
define signext i32 @f1s() {
|
|
entry:
|
|
ret i32 65535
|
|
}
|
|
; CHECK-LABEL: @f1s
|
|
; CHECK: lis 3, 0
|
|
; CHECK: ori 3, 3, 65535
|
|
|
|
define signext i32 @f2s() {
|
|
entry:
|
|
ret i32 32768
|
|
}
|
|
; CHECK-LABEL: @f2s
|
|
; CHECK: lis 3, 0
|
|
; CHECK: ori 3, 3, 32768
|
|
|
|
define signext i32 @f3s() {
|
|
entry:
|
|
ret i32 32767
|
|
}
|
|
; CHECK-LABEL: @f3s
|
|
; CHECK: li 3, 32767
|
|
|
|
define signext i16 @f4s() {
|
|
entry:
|
|
ret i16 32767
|
|
}
|
|
; CHECK-LABEL: @f4s
|
|
; CHECK: li 3, 32767
|
|
|
|
define signext i32 @f1sn() {
|
|
entry:
|
|
ret i32 -65535
|
|
}
|
|
; CHECK-LABEL: @f1sn
|
|
; CHECK: lis 3, -1
|
|
; CHECK: ori 3, 3, 1
|
|
|
|
define signext i32 @f2sn() {
|
|
entry:
|
|
ret i32 -32768
|
|
}
|
|
; CHECK-LABEL: @f2sn
|
|
; CHECK: li 3, -32768
|
|
|
|
define signext i32 @f3sn() {
|
|
entry:
|
|
ret i32 -32767
|
|
}
|
|
; CHECK-LABEL: @f3sn
|
|
; CHECK: li 3, -32767
|
|
|
|
define signext i32 @f4sn() {
|
|
entry:
|
|
ret i32 -65536
|
|
}
|
|
; CHECK-LABEL: @f4sn
|
|
; CHECK: lis 3, -1
|
|
|
|
define signext i16 @f5sn() {
|
|
entry:
|
|
ret i16 -32767
|
|
}
|
|
; CHECK-LABEL: @f5sn
|
|
; CHECK: li 3, -32767
|
|
|
|
define signext i16 @f6sn() {
|
|
entry:
|
|
ret i16 -32768
|
|
}
|
|
; CHECK-LABEL: @f6sn
|
|
; CHECK: li 3, -32768
|