Files
TheRock/compiler/amd-llvm/llvm/test/CodeGen/X86/dagcombine-tokenfactor-limit-crash.ll
T
derek.holloway 7502bf64a4
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
Flatten subprojects into a single base monorepo
2026-09-02 16:34:47 -07:00

60 lines
1.9 KiB
LLVM

; RUN: llc %s -combiner-tokenfactor-inline-limit=5 -o - | FileCheck %s
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%struct.snork = type { i8 }
%struct.wombat = type { [15 x i32] }
; CHECK: pushq %rbx
; CHECK-NEXT: andq $-32, %rsp
; CHECK-NEXT: subq $66144, %rsp # imm = 0x10260
; CHECK-NEXT: .cfi_offset %rbx, -24
; CHECK-NEXT: movabsq $-868076584853899022, %rax # imm = 0xF3F3F8F201F2F8F2
; CHECK-NEXT: movq %rax, (%rsp)
; CHECK-NEXT: movb $-13, 8263(%rsp)
; CHECK-NEXT: movq %rdi, %rbx
; CHECK-NEXT: callq hoge
; CHECK-NEXT: movq %rbx, %rdi
; CHECK-NEXT: callq hoge
; CHECK-NEXT: callq hoge
; CHECK-NEXT: callq hoge
; CHECK-NEXT: callq eggs
; CHECK-NEXT: callq hoge
; CHECK-NEXT: movq %rbx, %rax
; CHECK-NEXT: leaq -8(%rbp), %rsp
; CHECK-NEXT: popq %rbx
; CHECK-NEXT: popq %rbp
; CHECK-NEXT: .cfi_def_cfa %rsp, 8
; CHECK-NEXT: retq
define void @spam(ptr noalias sret(%struct.snork) %arg, ptr %arg2) {
bb:
%tmp = alloca i8, i64 66112, align 32
%tmp7 = ptrtoint ptr %tmp to i64
%tmp914 = inttoptr i64 undef to ptr
%tmp915 = inttoptr i64 undef to ptr
%tmp916 = inttoptr i64 undef to ptr
%tmp917 = inttoptr i64 undef to ptr
%tmp918 = inttoptr i64 undef to ptr
%tmp921 = inttoptr i64 undef to ptr
%tmp2055 = inttoptr i64 %tmp7 to ptr
store i64 -868076584853899022, ptr %tmp2055, align 1
%tmp2056 = add i64 %tmp7, 8263
%tmp2057 = inttoptr i64 %tmp2056 to ptr
store i8 -13, ptr %tmp2057, align 1
br label %bb2058
bb2058: ; preds = %bb
call void @hoge(ptr %arg)
call void @hoge(ptr %arg)
call void @hoge(ptr %tmp915)
call void @hoge(ptr %tmp916)
call void @eggs(ptr %tmp918, ptr %tmp914, ptr %tmp917)
call void @hoge(ptr %tmp921)
ret void
}
declare void @hoge(ptr)
declare void @eggs(ptr, ptr, ptr)