[PATCH] D30972: [LV] Add regression test for r297610

Hal Finkel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 15 07:35:08 PDT 2017


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

LGTM



================
Comment at: test/Transforms/LoopVectorize/unroll-novec-memcheck-metadata.ll:10
+; CHECK-LABEL: vector.body:
+; CHECK: load i32, {{.*}} !alias.scope ![[MD1:[0-9]+]]
+; CHECK-LABEL: middle.block:
----------------
Not required currently, but this would be a good place to use FileCheck's new local/global variable feature (r297396).  You'd do this by using:

  FileCheck --enable-var-scope %s

and then using `$MD1` as the regex name, instead of just `MD1`, because it is intended to be a global variable (one that lives across CHECK-LABEL regions).



https://reviews.llvm.org/D30972





More information about the llvm-commits mailing list