Files
clang-p2996/llvm/test/CodeGen/AMDGPU/lds-run-twice.ll
Jake Egan fa1d13590c [AIX][tests] Disable failing tests on AIX
These new tests are failing on the AIX bot because the -I option isn't supported.

Disable these tests for now until they can be fixed.
2024-03-12 12:11:18 -04:00

17 lines
509 B
LLVM

; XFAIL: target={{.*}}-aix{{.*}}
; RUN: opt -S -mtriple=amdgcn-- -amdgpu-lower-module-lds %s -o %t.ll
; RUN: opt -S -mtriple=amdgcn-- -amdgpu-lower-module-lds %t.ll -o %t.second.ll
; RUN: diff -ub %t.ll %t.second.ll -I ".*ModuleID.*"
; Check AMDGPULowerModuleLDS can run more than once on the same module, and that
; the second run is a no-op.
@lds = internal unnamed_addr addrspace(3) global i32 undef, align 4
define amdgpu_kernel void @test() {
entry:
store i32 1, ptr addrspace(3) @lds
ret void
}