Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp | ||
---|---|---|
249 | The danger of anonymous values may require a stable_sort (or do we error on those here, I forget) |
The move -> return approach seems reasonable. Could we go with GlobalVariable* instead of T before landing?
llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp | ||
---|---|---|
249 | No anonymous variables here - these globals are all created by this pass, and all given non-empty names. There's a hard error on anonymous functions at present, can drop that if we find a better way to bind structs to functions | |
1318 | This is a bit dubious in general, should probably be establishing the sorted invariant before calling into this. For another patch. |
llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp | ||
---|---|---|
249 | Re anonymous vars - we should test that. This may be reachable from the call that chooses an order for the array<i32> subtable with the original variable names. The variables in question are deleted by this pass so could be assigned arbitrary unique names as a fix if necessary. |
The danger of anonymous values may require a stable_sort (or do we error on those here, I forget)