[PATCH] D153349: [AMDGPU] Preserve dom-tree analysis in atomic optimizer.

Yashwant Singh via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 20 08:07:48 PDT 2023


yassingh accepted this revision as: yassingh.
yassingh added inline comments.
This revision is now accepted and ready to land.


================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp:150-152
+    PreservedAnalyses PA;
+    PA.preserve<DominatorTreeAnalysis>();
+    return PA;
----------------
Nit: Can reverse the if condition to be more consistent with other passes.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D153349



More information about the llvm-commits mailing list