[clang] [Clang] Do not emit intrinsic math functions on GPU targets (PR #98209)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 10 01:16:27 PDT 2024


https://github.com/arsenm commented:

This is going to break the library build. We use the __builtin functions to access the intrinsic in the cases where the llvm intrinsic lowering provides the implementation of the function. In a more sensible world, the library would not provide the implementations of functions that are implemented by the intrinsics in the first place 

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


More information about the cfe-commits mailing list