[llvm] [MC/DC][Coverage] Split out Read-modfy-Write to rmw_or(ptr, i8) (PR #96040)

Ellis Hoag via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 21 15:17:54 PDT 2024


================
@@ -937,6 +949,44 @@ Value *InstrLowerer::getCounterAddress(InstrProfCntrInstBase *I) {
   return Builder.CreateIntToPtr(Add, Addr->getType());
 }
 
+Function *InstrLowerer::createRMWOrFunc() {
----------------
ellishg wrote:

Can you document this function with basic C code to make is easy to understand what it's doing.

https://github.com/llvm/llvm-project/pull/96040


More information about the llvm-commits mailing list