[all-commits] [llvm/llvm-project] 1c70c2: [CostModel] Use operands argument in getInstructio...
Luke Lau via All-commits
all-commits at lists.llvm.org
Fri Jun 23 03:52:41 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1c70c2bc2c7d92db15199649836a9d1eb74c46d3
https://github.com/llvm/llvm-project/commit/1c70c2bc2c7d92db15199649836a9d1eb74c46d3
Author: Luke Lau <luke at igalia.com>
Date: 2023-06-23 (Fri, 23 Jun 2023)
Changed paths:
M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
Log Message:
-----------
[CostModel] Use operands argument in getInstructionCost in more places
The current instruction's pointer operand may be different from the one
specified in the Operands argument. We should use the pointer operand
from here instead in case the user has transformed it.
This manifested itself somewhere down the line in
https://reviews.llvm.org/D149889, but I haven't been able to create a
test case on its own yet unfortunately.
Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/D153574
More information about the All-commits
mailing list