[all-commits] [llvm/llvm-project] 1a7b7d: [NFCI][CodeGen, AArch64] Fix inconsistent TargetCo...
Daniil Fukalov via All-commits
all-commits at lists.llvm.org
Wed Sep 22 10:17:03 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1a7b7d7ba23232fe27c996e1731da7099859569c
https://github.com/llvm/llvm-project/commit/1a7b7d7ba23232fe27c996e1731da7099859569c
Author: Daniil Fukalov <daniil.fukalov at amd.com>
Date: 2021-09-22 (Wed, 22 Sep 2021)
Changed paths:
M llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp
Log Message:
-----------
[NFCI][CodeGen, AArch64] Fix inconsistent TargetCostKind types.
The pass uses different cost kinds to estimate "old" and "interleaved" costs:
default cost kind for all targets override `getInterleavedMemoryOpCost()` is
`TCK_SizeAndLatency`. Although at the moment estimated `TCK_Latency` costs are
equal to `TCK_SizeAndLatency`, (so the change is NFC) it may change in future.
Reviewed By: RKSimon
Differential Revision: https://reviews.llvm.org/D110100
More information about the All-commits
mailing list