[PATCH] D68905: [update_mir_test_checks] Handle MI flags properly

Justin Bogner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 14 10:15:45 PDT 2019


bogner accepted this revision.
bogner added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: utils/update_mir_test_checks.py:37-38
+MI_FLAGS_STR= (
+    r'(frame-setup |frame-destroy |nnan |ninf |nsz |arcp |contract |afn '
+    r'|reassoc |nuw |nsw |exact |fpexcept )*')
 VREG_DEF_RE = re.compile(
----------------
It'd be kind of nice if we could ensure this list stays up to date somehow, but I suppose it really doesn't change much and we'll notice the first time someone updates a test with a flag that's missing here.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D68905





More information about the llvm-commits mailing list