Provide function name in 'Cannot select' fatal error.
authorJim Grosbach <grosbach@apple.com>
Fri, 13 Jul 2012 00:29:09 +0000 (00:29 +0000)
committerJim Grosbach <grosbach@apple.com>
Fri, 13 Jul 2012 00:29:09 +0000 (00:29 +0000)
commitf51f1a7dd60d1f7ceab2d5819a44ffe860db0389
treecbdbbee85bde7184fefad95fc7b38f03be5a2f15
parent5cf55e1c6a22ae066db5066fdc69f99564ace8ea
Provide function name in 'Cannot select' fatal error.

When dumping the DAG for a fatal 'Cannot select' back-end error, also
provide the name of the function the construct is in. Useful when dealing
with large testcases, as the next step is to llvm-extract the function
in question to get a small(er) testcase.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160152 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp