[PATCH] D107901: [hwasan] Prevent reordering of tag checks.

Evgenii Stepanov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 12 12:01:35 PDT 2021


eugenis added a comment.

I find this program useful to test aliasing behavior:

  void zzz(long *x) {
    x[0] = 42;
    x[1] = 42;
  }

With `-fno-slp-vectorize` it generates store - check - store sequence where two stores can be merged into store-pair (see AArch64LoadStoreOptimizer) if hwasan check is not mayLoadOrStore.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107901



More information about the llvm-commits mailing list