Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: don't set external linkage when
@[NoInline]
is specified (#15424)
Unlike `alwaysinline` that is treated by LLVM as a simple hint, the `noinline` function attribute is enough to tell LLVM to always generate the symbol and never inline the calls (even with aggressive optimizations). We don't need to set the linkage to external.
- Loading branch information