llvm-project/llvm/test/CodeGen/Mips/Fast-ISel
Ahmed Bougacha 6dd6082472 [CodeGen] Pass SDAG an ORE, and replace FastISel stats with remarks.
In the long-term, we want to replace statistics with something
finer-grained that lets us gather per-function data.
Remarks are that replacement.

Create an ORE instance in SelectionDAGISel, and pass it to
SelectionDAG.

SelectionDAG was used so that we can emit remarks from all
SelectionDAG-related code, including TargetLowering and DAGCombiner.
This isn't used in the current patch but Adam tells me he's interested
for the fp-contract combines.

Use the ORE instance to emit FastISel failures as remarks (instead of
the mix of dbgs() dumps and statistics that we currently have).

Eventually, we want to have an API that tells us whether remarks are
enabled (http://llvm.org/PR32352) so that we don't emit expensive
remarks (in this case, dumping IR) when it's not needed.  For now, use
'isEnabled' as a crude replacement.

This does mean that the replacement for '-fast-isel-verbose' is now
'-pass-remarks-missed=isel'.  Additionally, clang users also need to
enable remark diagnostics, using '-Rpass-missed=isel'.

This also removes '-fast-isel-verbose2': there are no static statistics
that we want to only enable in asserts builds, so we can always use
the remarks regardless of the build type.

Differential Revision: https://reviews.llvm.org/D31405

llvm-svn: 299093
2017-03-30 17:49:58 +00:00
..
br1.ll Re-commit: [mips][fastisel] Handle 0-4 arguments without SelectionDAG. 2016-07-29 12:27:28 +00:00
bswap1.ll Re-commit: [mips][fastisel] Handle 0-4 arguments without SelectionDAG. 2016-07-29 12:27:28 +00:00
callabi.ll Re-commit: [mips][fastisel] Handle 0-4 arguments without SelectionDAG. 2016-07-29 12:27:28 +00:00
check-disabled-mcpus.ll [CodeGen] Pass SDAG an ORE, and replace FastISel stats with remarks. 2017-03-30 17:49:58 +00:00
constexpr-address.ll Re-commit: [mips][fastisel] Handle 0-4 arguments without SelectionDAG. 2016-07-29 12:27:28 +00:00
div1.ll Re-commit: [mips][fastisel] Handle 0-4 arguments without SelectionDAG. 2016-07-29 12:27:28 +00:00
double-arg.ll [mips][FastISel] Instantiate the MipsFastISel class only for targets that support FastISel. 2016-10-18 13:05:42 +00:00
fast-isel-softfloat-lower-args.ll [mips][fastisel] Consider soft-float an unsupported floating point mode 2016-10-04 10:35:07 +00:00
fastalloca.ll Re-commit: [mips][fastisel] Handle 0-4 arguments without SelectionDAG. 2016-07-29 12:27:28 +00:00
fastcc-miss.ll [CodeGen] Pass SDAG an ORE, and replace FastISel stats with remarks. 2017-03-30 17:49:58 +00:00
fpcmpa.ll Re-commit: [mips][fastisel] Handle 0-4 arguments without SelectionDAG. 2016-07-29 12:27:28 +00:00
fpext.ll Re-commit: [mips][fastisel] Handle 0-4 arguments without SelectionDAG. 2016-07-29 12:27:28 +00:00
fpintconv.ll Re-commit: [mips][fastisel] Handle 0-4 arguments without SelectionDAG. 2016-07-29 12:27:28 +00:00
fptrunc.ll Re-commit: [mips][fastisel] Handle 0-4 arguments without SelectionDAG. 2016-07-29 12:27:28 +00:00
icmpa.ll Re-commit: [mips][fastisel] Handle 0-4 arguments without SelectionDAG. 2016-07-29 12:27:28 +00:00
loadstore2.ll Re-commit: [mips][fastisel] Handle 0-4 arguments without SelectionDAG. 2016-07-29 12:27:28 +00:00
loadstoreconv.ll Re-commit: [mips][fastisel] Handle 0-4 arguments without SelectionDAG. 2016-07-29 12:27:28 +00:00
loadstrconst.ll Re-commit: [mips][fastisel] Handle 0-4 arguments without SelectionDAG. 2016-07-29 12:27:28 +00:00
logopm.ll Re-commit: [mips][fastisel] Handle 0-4 arguments without SelectionDAG. 2016-07-29 12:27:28 +00:00
memtest1.ll Re-commit: [mips][fastisel] Handle 0-4 arguments without SelectionDAG. 2016-07-29 12:27:28 +00:00
mul1.ll
nullvoid.ll Re-commit: [mips][fastisel] Handle 0-4 arguments without SelectionDAG. 2016-07-29 12:27:28 +00:00
overflt.ll Re-commit: [mips][fastisel] Handle 0-4 arguments without SelectionDAG. 2016-07-29 12:27:28 +00:00
rem1.ll Re-commit: [mips][fastisel] Handle 0-4 arguments without SelectionDAG. 2016-07-29 12:27:28 +00:00
retabi.ll Re-commit: [mips][fastisel] Handle 0-4 arguments without SelectionDAG. 2016-07-29 12:27:28 +00:00
sel1.ll [mips][fastisel] Correct argument lowering for (f64, f64, i32) and similar. 2016-08-01 15:32:51 +00:00
shftopm.ll Re-commit: [mips][fastisel] Handle 0-4 arguments without SelectionDAG. 2016-07-29 12:27:28 +00:00
shift.ll [llvm-objdump] Support detection of feature bits from the object and implement this for Mips. 2016-06-16 09:17:03 +00:00
simplestore.ll Re-commit: [mips][fastisel] Handle 0-4 arguments without SelectionDAG. 2016-07-29 12:27:28 +00:00
simplestorefp1.ll Re-commit: [mips][fastisel] Handle 0-4 arguments without SelectionDAG. 2016-07-29 12:27:28 +00:00
simplestorei.ll Re-commit: [mips][fastisel] Handle 0-4 arguments without SelectionDAG. 2016-07-29 12:27:28 +00:00
stackloadstore.ll [mips] Fix unsigned/signed type error 2016-11-16 11:29:07 +00:00