aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/WasmObjectFile.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2019-05-28 04:09:18 +0000
committerCraig Topper <craig.topper@intel.com>2019-05-28 04:09:18 +0000
commit50d502826bf65666c39d4a2b47f3e2a12cf4960d (patch)
tree806ad20cff465bac49c9a31127865fb417966667 /llvm/lib/Object/WasmObjectFile.cpp
parentf83c39e53f5636c43aac7a19e0b8f0784a6bc59f (diff)
downloadllvm-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