[clang] [CodeGen] Do not emit call site attributes for LLVM intrinsics. (PR #116881)

2024-11-20 Thread Michele Scandale via cfe-commits
michele-scandale wrote: I understand this is not something recommended. Still there is already code like the one in https://github.com/llvm/llvm-project/blob/main/clang/lib/CodeGen/CodeGenModule.cpp#L2887-L2892 ``` void CodeGenModule::SetFunctionAttributes(GlobalDecl GD, llvm::Function *F,

[clang] [CodeGen] Do not emit call site attributes for LLVM intrinsics. (PR #116881)

2024-11-19 Thread Michele Scandale via cfe-commits
https://github.com/michele-scandale closed https://github.com/llvm/llvm-project/pull/116881 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CodeGen] Do not emit call site attributes for LLVM intrinsics. (PR #116881)

2024-11-19 Thread Michele Scandale via cfe-commits
michele-scandale wrote: > Anything we do to make this work better risks being interpreted as treating > this as somehow supported, which it absolutely is not. Alright. I guess I'll close this PR. https://github.com/llvm/llvm-project/pull/116881 ___ c

[clang] [CodeGen] Do not emit call site attributes for LLVM intrinsics. (PR #116881)

2024-11-19 Thread Michele Scandale via cfe-commits
https://github.com/michele-scandale created https://github.com/llvm/llvm-project/pull/116881 When a function is declared with the `asm(...)` attribute to change the mangled name to reference a LLVM intrinsic, the AST->IR translation for the function declaration already skips any function/param

[clang] b7d7c44 - Fix `unsafe-fp-math` attribute emission.

2022-11-14 Thread Michele Scandale via cfe-commits
Author: Michele Scandale Date: 2022-11-14T20:40:57-08:00 New Revision: b7d7c448df9a4679c1dfa079911f863e32d8e41f URL: https://github.com/llvm/llvm-project/commit/b7d7c448df9a4679c1dfa079911f863e32d8e41f DIFF: https://github.com/llvm/llvm-project/commit/b7d7c448df9a4679c1dfa079911f863e32d8e41f.di

[clang] c49cde6 - [Sema] Fix `ExtVectorElementExpr` tree transform for the `isArrow` case.

2022-10-11 Thread Michele Scandale via cfe-commits
Author: Michele Scandale Date: 2022-10-11T13:29:20-07:00 New Revision: c49cde6467f9bf200640db763152a9dc7f009520 URL: https://github.com/llvm/llvm-project/commit/c49cde6467f9bf200640db763152a9dc7f009520 DIFF: https://github.com/llvm/llvm-project/commit/c49cde6467f9bf200640db763152a9dc7f009520.di