diff options
| author | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | 2018-10-05 14:34:04 +0000 |
|---|---|---|
| committer | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | 2018-10-05 14:34:04 +0000 |
| commit | 29d80f07eeb4f5b609e54f5443166b709a3c6ba6 (patch) | |
| tree | 1db4bf02758117adabde110452a679e38dda439d /llvm/lib/Target/X86/X86ISelLowering.cpp | |
| parent | faad1b3056f6fa17898b02e0502cd072bcac023d (diff) | |
| download | bcm5719-llvm-29d80f07eeb4f5b609e54f5443166b709a3c6ba6.tar.gz bcm5719-llvm-29d80f07eeb4f5b609e54f5443166b709a3c6ba6.zip | |
[LoopVectorizer] Use TTI.getOperandInfo()
Call getOperandInfo() instead of using (near) duplicated code in
LoopVectorizationCostModel::getInstructionCost().
This gets the OperandValueKind and OperandValueProperties values for a Value
passed as operand to an arithmetic instruction.
getOperandInfo() used to be a static method in TargetTransformInfo.cpp, but
is now instead a public member.
Review: Florian Hahn
https://reviews.llvm.org/D52883
llvm-svn: 343852
Diffstat (limited to 'llvm/lib/Target/X86/X86ISelLowering.cpp')
0 files changed, 0 insertions, 0 deletions

