JuliaPerf / MCAnalyzer.jl

A set of tools for machine code analyzing of Julia code
Other
46 stars 9 forks source link

Find a replacement for `@asmcall` for `mark_end()`/`mark_start()` #31

Open Seelengrab opened 1 year ago

Seelengrab commented 1 year ago

Ref https://github.com/maleadt/LLVM.jl/issues/320.

@asmcall may be moved around/duplicated, since it's "only" a memory clobbering sideeffect. We can't mark inline assembly as volatile in LLVM-IR so preventing the moving may be a bit harder. Perhaps a pseudo-intrinsic that we noop afterwards is suitable? That may also help with #30 .