[libclc] [libclc] Add an option to build SPIR-V targets with the LLVM backend (PR #151347)
Nikita Popov via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 30 08:10:14 PDT 2025
nikic wrote:
> Note that the option is off by default as using the SPIR-V backend, at least on my machine, uses a lot of memory and the process is often killed in a parallelized build. It does complete, however.
I see the same behavior, goes up to something like 30GB. The input is not particularly large (just 300k lines of IR).
>From a quick run through massif, it looks like MachineInstrs in SPIRVGlobalRegistry are the memory hog?
https://github.com/llvm/llvm-project/pull/151347
More information about the cfe-commits
mailing list