[PATCH] D85932: [UpdateTestChecks] Match 'attributes #' at the end

Stefan Stipanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 13 13:51:51 PDT 2020


sstefan1 added inline comments.


================
Comment at: llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/check_attrs.ll.funcattrs.expected:30
+; CHECK: attributes [[ATTR0:#.*]] = { nofree norecurse nosync nounwind optsize readnone ssp uwtable willreturn }
+; NOT_CGSCC_NPM: attributes [[ATTR0:#.*]] = { nofree norecurse nosync nounwind optsize readnone ssp uwtable willreturn }
+; NOT_CGSCC_OPM: attributes [[ATTR0:#.*]] = { nofree norecurse nosync nounwind optsize readnone ssp uwtable willreturn }
----------------
I need to work a little bit more on files that have multiple check lines, but the general approach should remain the same (if everyone agrees).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D85932



More information about the llvm-commits mailing list