[llvm] [SPIRV] Extend lowering of variadic functions (PR #178980)
Nick Sarnie via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 13 09:10:42 PST 2026
================
@@ -978,10 +984,9 @@ struct SPIRV final : public VariadicABIInfo {
return {A, false};
}
- // The SPIR-V backend has special handling for SPIR-V mangled printf
- // functions.
- bool ignoreFunction(Function *F) override {
- return F->getName().starts_with('_') && F->getName().contains("printf");
+ // We will likely see va intrinsics in the generic addrspace (4).
+ SmallVector<unsigned> getTargetSpecificVaIntrinAddrSpaces() const override {
----------------
sarnex wrote:
@jhuber6 Mind taking another look at this with the above context? If you don't feel comfortable reviewing I can try to find someone else, thanks
https://github.com/llvm/llvm-project/pull/178980
More information about the llvm-commits
mailing list