[PATCH] D99565: [X86] Support replacing aligned vector moves with unaligned moves when avx is enabled.

Craig Topper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 13 15:00:25 PDT 2021


craig.topper added inline comments.


================
Comment at: clang/include/clang/Driver/Options.td:1649
+    Group<f_Group>,  Flags<[CoreOption, HelpHidden]>,
+    HelpText<"Do not emit unaligned move instructions unless users explicitly uses.">;
 def fassociative_math : Flag<["-"], "fassociative-math">, Group<f_Group>;
----------------
craig.topper wrote:
> This makes it sound like unaligned moves would never be used even if it unaligned.
>From the user's perspective you're not transforming instructions. The instructions don't exist before the compiler runs.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99565



More information about the cfe-commits mailing list