[all-commits] [llvm/llvm-project] 46d3e4: [CostModel] get type-based cost for vector intrins...
RotateRight via All-commits
all-commits at lists.llvm.org
Mon Oct 12 14:27:54 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 46d3e428a83ccc0cab73abb2e39a82b1cca53a52
https://github.com/llvm/llvm-project/commit/46d3e428a83ccc0cab73abb2e39a82b1cca53a52
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2020-10-12 (Mon, 12 Oct 2020)
Changed paths:
M llvm/include/llvm/CodeGen/BasicTTIImpl.h
Log Message:
-----------
[CostModel] get type-based cost for vector intrinsics directly
This is NFC-intended (the reductions and other intrinsics have
tests that should provide coverage) - trying to untangle the
mess that has formed here.
We were stripping the arguments off of the given
"IntrinsicCostAttributes" and then semi-recursively
calling back into getIntrinsicInstrCost() only to
then call getTypeBasedIntrinsicInstrCost(), so make
that call directly instead.
More information about the All-commits
mailing list