Outlining these can cause assertion failures and runs counter to what XRay is meant for anyway (fine-grained profiling via compiler instrumentation). Unblocks https://reviews.llvm.org/D124707
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/test/CodeGen/AArch64/machine-outliner-patchable-exit.mir | ||
---|---|---|
5 | Can you add testcases for the other XRay opcodes too? |
llvm/test/CodeGen/AArch64/machine-outliner-patchable-exit.mir | ||
---|---|---|
5 | Sure, but it's important to note that the test case for PATCHABLE_FUNCTION_ENTER won't fail ... outside of ARM32, where isMBBSafeToOutlineFrom is overriden without a call to the base class. I'll add a test for this there, and then submit a patch to refactor isMBBSafeToOutlineFrom as well. |
Can you add testcases for the other XRay opcodes too?