[MachineScheduler] Fix physreg dependencies of ExitSU (#123541)
[llvm-project.git] / llvm / test / CodeGen / AMDGPU / half-alloca-promotion.ll
blobcfec49f3652fbd437295df51b8b9af3c438d8172
1 ; RUN: opt -S -mtriple=amdgcn-amd-amdhsa -passes="amdgpu-promote-alloca-to-vector" -o - %s
2 ; We don't really need to check anything here because with expensive check, this
3 ; test case crashes. The correctness of the pass is beyond the scope.
5 define fastcc void @foo() {
6 entry:
7   %det = alloca [4 x i32], align 16, addrspace(5)
8   %trkltPosTmpYZ = alloca [2 x float], align 4, addrspace(5)
9   %trkltCovTmp = alloca [3 x float], align 4, addrspace(5)
10   ret void