[GISel]: Print more fallback information when aborting
authorAditya Nandakumar <aditya_nandakumar@apple.com>
Tue, 27 Feb 2018 18:04:23 +0000 (18:04 +0000)
committerAditya Nandakumar <aditya_nandakumar@apple.com>
Tue, 27 Feb 2018 18:04:23 +0000 (18:04 +0000)
commitabf75940990d19634f837022dfe931b9b42fce23
treeab99f623e6ea70417f60578396f7c2a46eb2c83a
parent28efd27fe22f7fbacb80159a115b73c7a2110523
[GISel]: Print more fallback information when aborting

Currently when abort is enabled, we get a diagnostic saying "Fallback
path used .... " and the program terminates. To actually figure out what
the reason is, we need to run again with another verbose argument
"-pass-remarks-missed=gisel". Instead, when we are going to abort,
we might as well print expensive remarks.

https://reviews.llvm.org/D43796

llvm-svn: 326215
llvm/lib/CodeGen/GlobalISel/Utils.cpp