[PATCH] D134323: AtomicExpand: Avoid some operations if the atomic is overaligned

James Y Knight via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 23 08:57:35 PDT 2022


jyknight accepted this revision.
jyknight added inline comments.


================
Comment at: llvm/lib/CodeGen/AtomicExpandPass.cpp:734
+
+  if (!PtrTy->isOpaquePointerTy())
+    PMV.AlignedAddr =
----------------
JFTR: same comment as previous patch that added this code: don't need the if.


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

https://reviews.llvm.org/D134323



More information about the llvm-commits mailing list