[clang] [Clang][AMDGPU] Accept builtins in lambda declarations (PR #135027)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 10 03:11:56 PDT 2025


Juan Manuel Martinez =?utf-8?q?Caamaño?= <juamarti at amd.com>,
Juan Manuel Martinez =?utf-8?q?Caamaño?= <juamarti at amd.com>,
Juan Manuel Martinez =?utf-8?q?Caamaño?= <juamarti at amd.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/135027 at github.com>


https://github.com/arsenm commented:

IIRC there were bugs when you try to use lambda in conjunction with the target attribute. Can you add a test where you try to use a builtin that depends on a subtarget feature, in a function marked with the target attribute (and not available in the main compile target), that we still error?

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


More information about the cfe-commits mailing list