This was failing to add the size of LDS globals that weren't directly
used by an instruction. They could be used by constant expressions
which are transitively used by the function. This requires a better
search, but just abort on this for now for correctness.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
LGTM as a quick fix.
llvm/test/CodeGen/AMDGPU/promote-alloca-to-lds-constantexpr-use.ll | ||
---|---|---|
8 | We may add 'FIXME' as well to keep these tests tracked as well. |
We may add 'FIXME' as well to keep these tests tracked as well.