[PATCH] D74311: [CodeGen] Fix the computation of the alignment of split stores.

Guillaume Chatelet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 10 05:47:49 PST 2020


gchatelet added inline comments.


================
Comment at: llvm/lib/CodeGen/CodeGenPrepare.cpp:6872
+    MaybeAlign Alignment = SI.getAlign();
+    if (Upper && SI.getAlign()) {
+      // When the original store is aligned, the lower part has the same alignment.
----------------
Can you reuse `Alignment` here?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D74311





More information about the llvm-commits mailing list