[libc-commits] [libc] [libc] Rework the RPC interface to accept runtime wave sizes (PR #80914)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Thu Feb 8 05:07:22 PST 2024


jhuber6 wrote:

> The intrinsic won't actually fold out in any useful place today (only happens extremely late in the backend). You're better of linking in a wavesize constant variable

I did some really informal checks on register usage and it didn't seem to change anything. Really simple branches like this one seem to at least get optimized out, see https://godbolt.org/z/qbjqfq3WG. I think in this case it's a constant written to a register, which the late passes then propagate.

https://github.com/llvm/llvm-project/pull/80914


More information about the libc-commits mailing list