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
56 lines
2.0 KiB
LLVM
56 lines
2.0 KiB
LLVM
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
|
|
; RUN: llc < %s -mtriple=x86_64-linux-gnux32 | FileCheck %s
|
|
|
|
define void @constant_expressions() {
|
|
; CHECK-LABEL: constant_expressions:
|
|
; CHECK: # %bb.0: # %entry
|
|
; CHECK-NEXT: movl $-289477652, %eax # imm = 0xEEBEEBEC
|
|
; CHECK-NEXT: movl (%eax), %ecx
|
|
; CHECK-NEXT: movl $-289477644, %edx # imm = 0xEEBEEBF4
|
|
; CHECK-NEXT: movl (%edx), %edx
|
|
; CHECK-NEXT: movl $-289477648, %esi # imm = 0xEEBEEBF0
|
|
; CHECK-NEXT: addl (%esi), %ecx
|
|
; CHECK-NEXT: movl $-289477636, %esi # imm = 0xEEBEEBFC
|
|
; CHECK-NEXT: addl (%esi), %edx
|
|
; CHECK-NEXT: addl %ecx, %edx
|
|
; CHECK-NEXT: movl %edx, (%eax)
|
|
; CHECK-NEXT: retq
|
|
entry:
|
|
%0 = load i32, ptr inttoptr (i32 add (i32 -289477652, i32 0) to ptr)
|
|
%1 = load i32, ptr inttoptr (i32 add (i32 -289477652, i32 4) to ptr)
|
|
%2 = load i32, ptr inttoptr (i32 add (i32 -289477652, i32 8) to ptr)
|
|
%3 = load i32, ptr inttoptr (i32 add (i32 -289477652, i32 16) to ptr)
|
|
%4 = add i32 %0, %1
|
|
%5 = add i32 %2, %3
|
|
%6 = add i32 %4, %5
|
|
store i32 %6, ptr inttoptr (i32 add (i32 -289477652, i32 0) to ptr)
|
|
ret void
|
|
}
|
|
|
|
|
|
define void @constant_expressions2() {
|
|
; CHECK-LABEL: constant_expressions2:
|
|
; CHECK: # %bb.0: # %entry
|
|
; CHECK-NEXT: movl $-289477652, %eax # imm = 0xEEBEEBEC
|
|
; CHECK-NEXT: movl (%eax), %ecx
|
|
; CHECK-NEXT: movl $-289477644, %edx # imm = 0xEEBEEBF4
|
|
; CHECK-NEXT: movl (%edx), %edx
|
|
; CHECK-NEXT: movl $-289477648, %esi # imm = 0xEEBEEBF0
|
|
; CHECK-NEXT: addl (%esi), %ecx
|
|
; CHECK-NEXT: movl $-289477640, %esi # imm = 0xEEBEEBF8
|
|
; CHECK-NEXT: addl (%esi), %edx
|
|
; CHECK-NEXT: addl %ecx, %edx
|
|
; CHECK-NEXT: movl %edx, (%eax)
|
|
; CHECK-NEXT: retq
|
|
entry:
|
|
%0 = load i32, ptr inttoptr (i32 -289477652 to ptr)
|
|
%1 = load i32, ptr inttoptr (i32 -289477648 to ptr)
|
|
%2 = load i32, ptr inttoptr (i32 -289477644 to ptr)
|
|
%3 = load i32, ptr inttoptr (i32 -289477640 to ptr)
|
|
%4 = add i32 %0, %1
|
|
%5 = add i32 %2, %3
|
|
%6 = add i32 %4, %5
|
|
store i32 %6, ptr inttoptr (i32 -289477652 to ptr)
|
|
ret void
|
|
}
|