https://reviews.llvm.org/D134254 introduced an issue on Fuchsia
target, which does not unconditionally emit runtime hook.
It used containsProfilingIntrinsics(M) after intrinsics are lowered.
So, this patch fixes the issue by capturing the result of that
function invocation before intrinsics are lowered.
Details
Details
- Reviewers
phosek - Commits
- rG5bdf22e743db: [InstrProfiling] Fix emitting runtime hook once
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo