[LoopCacheAnalysis]: handle mismatch type for Numerator and CacheLineSize
authorZheng Chen <czhengsz@cn.ibm.com>
Fri, 6 Aug 2021 16:29:47 +0000 (16:29 +0000)
committerJinsong Ji <jji@us.ibm.com>
Fri, 6 Aug 2021 16:51:09 +0000 (16:51 +0000)
commit30b0c455b150c9e29f2a4f500fa721dea82d5e37
tree30ab59d7fc215fa6aba61814165fb98cd8de1ba3
parenteae4a44c1d4b3352443dc0021149fb9ca45d5727
[LoopCacheAnalysis]: handle mismatch type for Numerator and CacheLineSize

fix an assertion due to mismatch type for Numerator and CacheLineSize in loop cache analysis pass.

Reviewed By: bmahjour

Differential Revision: https://reviews.llvm.org/D107618
llvm/lib/Analysis/LoopCacheAnalysis.cpp
llvm/test/Analysis/LoopCacheAnalysis/PowerPC/compute-cost-m32.ll [new file with mode: 0644]