The wrapper, as most of compiler-generated functions, are intended to serve the
IR for the current module. The safest linkage is to keep these private to avoid
any possible collision with other modules.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
You beat me to it ;)
I did this in parallel: https://reviews.llvm.org/D153256. My patch preserves any llvm.linkage flags on the original op, so the very last test behaves different. Not sure what is better...
Comment Actions
We shouldn't preserve the original linkage, I'm not sure what to do with other attributes and why they are propagated actually.