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

Anshil Gandhi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 13 10:27:50 PDT 2021


gandhi21299 added inline comments.


================
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 "
----------------
arsenm wrote:
> Missing word atomic?
Its already part of the OperationName


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106891



More information about the llvm-commits mailing list