2 Commits

Author SHA1 Message Date
Matt Arsenault
68d4656722 AMDGPU: Don't insert pointer bitcasts for printf lowering
Cleanup leftover typed pointer handling.
2023-01-28 21:49:10 -04:00
Matt Arsenault
39af5cec8b AMDGPU: Fix format string indexes for existing llvm.printf.fmts
The index stored to the buffer is just an index into this named
metadata. It would more robust to produce a private constant table,
and use a constant expression to index into it.
2023-01-13 13:18:27 -05:00