[PATCH] D115230: [X86] Use bundle for CALL_RVMARKER expansion.
Akira Hatanaka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 10 13:41:12 PST 2021
ahatanak added a comment.
In D115230#3180259 <https://reviews.llvm.org/D115230#3180259>, @fhahn wrote:
> Updated to only use bundles during expansion for Darwin platforms. This keeps it in sync with TargetMachine (for now the bundle expansion pass is only scheduled on Darwin platforms).
Is it possible to pass a predicate functor to `createUnpackMachineBundle`? The functor would just check the presence of ObjC module flags or declarations of the ObjC ARC runtime functions in the module and `UnpackMachineBundles::runOnMachineFunction` would return early if they don't exist in the module.
I'm assuming the pass is enabled only on Darwin to avoid the overhead of running the pass when it's not needed.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115230/new/
https://reviews.llvm.org/D115230
More information about the llvm-commits
mailing list