Files
Matt ArsenaultandClaude a2fc23854f AMDGPU: Migrate Analysis/Transforms tests to amdgpu subarch triple (3) (#208811)
Continue migrating command-line target spelling on RUN lines to the
folded amdgpu subarch triple form, covering more Transforms tests.

Co-Authored-By: Claude <noreply@anthropic.com> (Claude-Opus-4.8)
2026-07-10 22:27:44 +02:00

21 lines
703 B
LLVM

; RUN: opt -mtriple=amdgpu-amd-amdhsa -passes=load-store-vectorizer -S -o - %s | FileCheck %s
; CHECK-LABEL: @no_implicit_float(
; CHECK: store i32
; CHECK: store i32
; CHECK: store i32
; CHECK: store i32
define amdgpu_kernel void @no_implicit_float(ptr addrspace(1) %out) #0 {
%out.gep.1 = getelementptr i32, ptr addrspace(1) %out, i32 1
%out.gep.2 = getelementptr i32, ptr addrspace(1) %out, i32 2
%out.gep.3 = getelementptr i32, ptr addrspace(1) %out, i32 3
store i32 123, ptr addrspace(1) %out.gep.1
store i32 456, ptr addrspace(1) %out.gep.2
store i32 333, ptr addrspace(1) %out.gep.3
store i32 1234, ptr addrspace(1) %out
ret void
}
attributes #0 = { nounwind noimplicitfloat }