brintos

brintos / llvm-project-archived public Read only

0
0
Text · 461 B · cfec49f Raw
12 lines · plain
1; RUN: opt -S -mtriple=amdgcn-amd-amdhsa -passes="amdgpu-promote-alloca-to-vector" -o - %s2; We don't really need to check anything here because with expensive check, this3; 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 void11}12