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
27 lines
1008 B
LLVM
27 lines
1008 B
LLVM
; RUN: llc -mtriple=hexagon -filetype=obj < %s | llvm-objdump -d - | FileCheck %s
|
|
|
|
; The output assembly (textual) contains the instruction
|
|
; r29 = add(r29,#4294967136)
|
|
; The value 4294967136 is -160 when interpreted as a signed 32-bit
|
|
; integer, so it fits in the range of the immediate operand without
|
|
; a constant extender. The range check in HexagonInstrInfo was putting
|
|
; the operand value into an int variable, reporting no need for an
|
|
; extender. This resulted in a packet with 4 instructions, including
|
|
; the "add". The corresponding check in HexagonMCInstrInfo was using
|
|
; an int64_t variable, causing an extender to be emitted when lowering
|
|
; to MCInst, and resulting in a packet with 5 instructions.
|
|
|
|
; Check that this doesn't crash.
|
|
; CHECK: r29 = add(r29,#-0xa0)
|
|
|
|
target triple = "hexagon-unknown-linux-gnu"
|
|
|
|
define float @f0() {
|
|
b0:
|
|
%v0 = alloca i8, i32 0, align 1
|
|
%v1 = alloca float, i32 -42, align 4
|
|
%v2 = load float, ptr %v1, align 4
|
|
store i8 0, ptr %v0, align 1
|
|
ret float %v2
|
|
}
|