diff options
author | Philip Reames <preames@rivosinc.com> | 2022-08-22 08:58:15 -0700 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2022-08-22 09:48:15 -0700 |
commit | 5cd427106dd25949b716639c9c1e6559f77fb697 (patch) | |
tree | 59f442d04cce80a98a6226ee1b32b87edbd35858 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 9a83f384086928d3b6305c0fb5db3ee7e8f474a4 (diff) | |
download | llvm-5cd427106dd25949b716639c9c1e6559f77fb697.zip llvm-5cd427106dd25949b716639c9c1e6559f77fb697.tar.gz llvm-5cd427106dd25949b716639c9c1e6559f77fb697.tar.bz2 |
[TTI] Start process of merging OperandValueKind and OperandValueProperties [nfc]
OperandValueKind and OperandValueProperties both provide facts about the operands of an instruction for purposes of cost modeling. We've discussed merging them several times; before I plumb through more flags, let's go ahead and do so.
This change only adds the client side interface for getArithmeticInstrCost and makes a couple of minor changes in client code to prove that it works. Target TTI implementations still use the split flags. I'm deliberately splitting what could be one big change into a series of smaller ones so that I can lean on the compiler to catch errors along the way.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions