[PATCH] D66688: [LoopVectorize] Leverage speculation safety to avoid masked.loads

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 26 13:58:32 PDT 2019


xbolva00 added inline comments.


================
Comment at: lib/Transforms/Vectorize/LoopVectorizationLegality.cpp:1006
+              // Speculative load may load data from dirty regions.
+              LI->getFunction()->hasFnAttribute(Attribute::SanitizeAddress) ||
+              LI->getFunction()->hasFnAttribute(Attribute::SanitizeHWAddress))
----------------
Maybe also SanitizeMemory?


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

https://reviews.llvm.org/D66688





More information about the llvm-commits mailing list