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

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 9 17:07:38 PST 2022


aeubanks added inline comments.


================
Comment at: llvm/test/Instrumentation/HWAddressSanitizer/memaccess-clobber.ll:3
+;
+; RUN: opt < %s -S -enable-new-pm=0 -hwasan -basic-aa -memdep -print-memdeps -analyze -mtriple aarch64-linux-android30 | FileCheck %s
+
----------------
fmayer wrote:
> aeubanks wrote:
> > this is the only user of `print-memdeps` which is a legacy PM-specific pass. `-analyze` is also a legacy PM-specific feature.
> > is there a better way of testing this? memdep is deprecated anyway
> I don't know of any more direct way to test this. Is there in the new PM that you know about that can give information about memory dependencies / what can't be reordered?
D119393


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