[PATCH] D88396: [X86] Replace movaps with movups when avx is enabled.
LuoYuanke via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 7 07:00:20 PDT 2020
LuoYuanke marked 2 inline comments as done.
LuoYuanke added inline comments.
================
Comment at: llvm/lib/Target/X86/X86MovapsToMovups.cpp:13
+/// If the address is not aligned, movups can run without raising exception.
+/// So movups is prefered.
+//
----------------
RKSimon wrote:
> "So unaligned load/stores may be preferred if hardware exceptions can't be trusted."?
Sometimes user prefer inefficient unaligned load/store rather than hardware exceptions when address is unaligned. We provide the opportunity for user to choose the behavior.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88396/new/
https://reviews.llvm.org/D88396
More information about the llvm-commits
mailing list