We need to call AsmPrinter::getNameWithPrefix() in order to handle
anonymous GlobalValues (e.g. @0, @1).
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
A better name for the test would be anonymous-gv.
Can you also add a test that uses an anonymous kernel
test/CodeGen/AMDGPU/anonymous-gv.ll | ||
---|---|---|
5–15 ↗ | (On Diff #72303) | The generated anonymous names should be checked |