[all-commits] [llvm/llvm-project] 80ab16: [NFC][LoopCacheAnalysis] Update test cases to make...

CongzheUalberta via All-commits all-commits at lists.llvm.org
Wed May 25 20:34:21 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 80ab16d0ed7535e752f4c90f6a89ccff108a22e2
      https://github.com/llvm/llvm-project/commit/80ab16d0ed7535e752f4c90f6a89ccff108a22e2
  Author: Congzhe Cao <congzhe.cao at huawei.com>
  Date:   2022-05-25 (Wed, 25 May 2022)

  Changed paths:
    M llvm/test/Analysis/LoopCacheAnalysis/PowerPC/LoopnestFixedSize.ll
    M llvm/test/Analysis/LoopCacheAnalysis/PowerPC/loads-store.ll
    M llvm/test/Analysis/LoopCacheAnalysis/PowerPC/matmul.ll
    M llvm/test/Analysis/LoopCacheAnalysis/PowerPC/matvecmul.ll
    M llvm/test/Analysis/LoopCacheAnalysis/PowerPC/multi-store.ll
    M llvm/test/Analysis/LoopCacheAnalysis/PowerPC/single-store.ll
    M llvm/test/Analysis/LoopCacheAnalysis/PowerPC/stencil.ll

  Log Message:
  -----------
  [NFC][LoopCacheAnalysis] Update test cases to make sure the outputs follow the right order

In this patch we change test cases from using "CHECK" to using
"CHECK-NEXT", which is to ensure the order of loops output by
loop cache analysis is correct. After D124725 we fixed the
non-deterministic output order hence we did not use "CHECK-DAG"
anymore, and now we should really use "CHECK-NEXT" to make sure
the loops in the output loop vector follow the right order.

Reviewed By: bmahjour, #loopoptwg

Differential Revision: https://reviews.llvm.org/D124984




More information about the All-commits mailing list