[PATCH] D157495: [WIP] Run SimplifyCFG from Atomic-Expand on CAS loop blocks.
Pravin Jagtap via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 18 06:12:40 PDT 2023
pravinjagtap added inline comments.
================
Comment at: llvm/lib/CodeGen/AtomicExpandPass.cpp:116
+ CreateCmpXchgInstFun CreateCmpXchg,
+ SmallVector<BasicBlock *> &CmpXchgLoopBlocks);
bool tryExpandAtomicCmpXchg(AtomicCmpXchgInst *CI);
----------------
arsenm wrote:
> Do you need to track this or can you just clean each one up as it happens?
> Do you need to track this or can you just clean each one up as it happens?
I am clearing this vector at the beginning itself in runOnFunction
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D157495/new/
https://reviews.llvm.org/D157495
More information about the llvm-commits
mailing list