[PATCH] D90104: [LoopUnroll] Duplicate noalias metadata

Michael Kruse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 26 10:05:01 PDT 2020


Meinersbur added inline comments.


================
Comment at: llvm/test/Transforms/LoopUnroll/noalias.ll:2
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
+; RUN: opt -S -loop-unroll < %s | FileCheck %s
+
----------------
For robustness, the test case should specify the unroll factor, e.g. `-unroll-count=4`


================
Comment at: llvm/test/Transforms/LoopUnroll/noalias.ll:47-58
+; CHECK: !0 = !{!1}
+; CHECK: !1 = distinct !{!1, !2}
+; CHECK: !2 = distinct !{!2}
+; CHECK: !3 = !{!4}
+; CHECK: !4 = distinct !{!4, !5}
+; CHECK: !5 = distinct !{!5}
+; CHECK: !6 = !{!7}
----------------
User regex to match MDNodes?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D90104



More information about the llvm-commits mailing list