summaryrefslogtreecommitdiff
path: root/mlir/lib/Bytecode/Reader/BytecodeReader.cpp
diff options
context:
space:
mode:
authorGulfem Savrun Yeniceri <gulfem@google.com>2022-09-28 01:52:04 +0000
committerGulfem Savrun Yeniceri <gulfem@google.com>2022-09-29 01:21:49 +0000
commit5bdf22e743dbabdddd106f289a0f2d2f04c09b32 (patch)
tree39181bb84cd7198390a583fdde6ca7cbc6b98817 /mlir/lib/Bytecode/Reader/BytecodeReader.cpp
parent3155f6c5086f4a8dec042ba6e28d32ec0d39f6a9 (diff)
[InstrProfiling] Fix emitting runtime hook once
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. Differential Revision: https://reviews.llvm.org/D134841
Diffstat (limited to 'mlir/lib/Bytecode/Reader/BytecodeReader.cpp')
0 files changed, 0 insertions, 0 deletions