diff options
author | Evgeny Stupachenko <evstupac@gmail.com> | 2017-06-05 22:44:18 +0000 |
---|---|---|
committer | Evgeny Stupachenko <evstupac@gmail.com> | 2017-06-05 22:44:18 +0000 |
commit | 4d94e994467405321f67339fbb3154e8bbc0b4a0 (patch) | |
tree | d0c78dac8dd38cf0b287c5a7f10a048025b8daf0 /llvm/unittests/Support/ProgramTest.cpp | |
parent | 3092d728cd80b2cd234a694120dc05edcb305d4d (diff) | |
download | llvm-4d94e994467405321f67339fbb3154e8bbc0b4a0.zip llvm-4d94e994467405321f67339fbb3154e8bbc0b4a0.tar.gz llvm-4d94e994467405321f67339fbb3154e8bbc0b4a0.tar.bz2 |
LSR: Calculate instruction cost only if InsnsCost is set to true (NFC)
Summary:
The patch guard all instruction cost calculations with InsnCosts (-lsr-insns-cost) option.
Currently even if the option set to false we calculate and print (in debug mode) instruction costs.
Reviewers: qcolombet
Differential Revision: http://reviews.llvm.org/D33914
From: Evgeny Stupachenko <evstupac@gmail.com>
llvm-svn: 304746
Diffstat (limited to 'llvm/unittests/Support/ProgramTest.cpp')
0 files changed, 0 insertions, 0 deletions