[PATCH] D106891: [Remarks] Emit optimization remarks for atomics generating CAS loop

Stanislav Mekhanoshin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 13 12:37:44 PDT 2021


rampitec added a comment.

Please restore opencl test.



================
Comment at: llvm/lib/CodeGen/AtomicExpandPass.cpp:622
+        return OptimizationRemark(DEBUG_TYPE, "Passed", AI->getFunction())
+               << "A compare and swap loop was generated for an "
+               << AI->getOperationName(AI->getOperation()) << " operation at "
----------------
gandhi21299 wrote:
> arsenm wrote:
> > Missing word atomic?
> Its already part of the OperationName
Matt is right, missing "atomic" word.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D106891/new/

https://reviews.llvm.org/D106891



More information about the cfe-commits mailing list