diff options
author | Craig Topper <craig.topper@intel.com> | 2019-05-28 04:09:18 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2019-05-28 04:09:18 +0000 |
commit | 50d502826bf65666c39d4a2b47f3e2a12cf4960d (patch) | |
tree | 806ad20cff465bac49c9a31127865fb417966667 /llvm/lib/Object/WasmObjectFile.cpp | |
parent | f83c39e53f5636c43aac7a19e0b8f0784a6bc59f (diff) | |
download | llvm-50d502826bf65666c39d4a2b47f3e2a12cf4960d.zip llvm-50d502826bf65666c39d4a2b47f3e2a12cf4960d.tar.gz llvm-50d502826bf65666c39d4a2b47f3e2a12cf4960d.tar.bz2 |
[CostModel] Add really basic support for being able to query the cost of the FNeg instruction.
Summary:
This reuses the getArithmeticInstrCost, but passes dummy values of the second
operand flags.
The X86 costs are wrong and can be improved in a follow up. I just wanted to
stop it from reporting an unknown cost first.
Reviewers: RKSimon, spatel, andrew.w.kaylor, cameron.mcinally
Reviewed By: spatel
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D62444
llvm-svn: 361788
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions