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,
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
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
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
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
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