[PATCH] D87538: [VectorCombine] Don't vectorize scalar load under asan/hwasan/memtag/tsan
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 14 13:08:00 PDT 2020
spatel added inline comments.
================
Comment at: llvm/lib/Analysis/ValueTracking.cpp:4414
bool llvm::mustSuppressSpeculation(const LoadInst &LI) {
- if (!LI.isUnordered())
+ if (!LI.isSimple())
return true;
----------------
Definitely get a 2nd reviewer opinion if we are making changes here (I don't know enough about this)...
But if I'm seeing it correctly, isSimple() is not a superset of isUnordered(). Ie, a load can have AtomicOrdering::Unordered but still be simple?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87538/new/
https://reviews.llvm.org/D87538
More information about the llvm-commits
mailing list