[PATCH] D127342: [TargetTransformInfo] Added an option for the cache line size

Bardia Mahjour via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 10 10:38:41 PDT 2022


bmahjour added inline comments.


================
Comment at: llvm/test/Analysis/LoopCacheAnalysis/compute-cost.ll:2
+; RUN: opt < %s  -opaque-pointers -cache-line-size=32 -passes='print<loop-cache-cost>' -disable-output 2>&1 | FileCheck -check-prefix=SMALLER-CACHELINE %s
+; RUN: opt < %s  -opaque-pointers -cache-line-size=256 -passes='print<loop-cache-cost>' -disable-output 2>&1 | FileCheck -check-prefix=LARGER-CACHELINE %s
+
----------------
We still need a RUN line (and corresponding checks) without `-cache-line-size=` to test the default value case (in the absence of target triple).


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

https://reviews.llvm.org/D127342



More information about the llvm-commits mailing list