xref: /llvm-project/llvm/test/CodeGen/AMDGPU/half-alloca-promotion.ll (revision b4df0da9e8421c8026bd09980b8a6acd7a6ce8c9)
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.
4
5define fastcc void @foo() {
6entry:
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
11}
12