aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorAhmed Bougacha <ahmed.bougacha@gmail.com>2017-02-23 21:05:42 +0000
committerAhmed Bougacha <ahmed.bougacha@gmail.com>2017-02-23 21:05:42 +0000
commitae9dadecf389d96023589f3ff145da4da6cba92b (patch)
treeaf0ce2b8b7e8acf518332e1185e3b83fd0ac7506 /clang/lib/CodeGen/CodeGenModule.h
parent272739751d87cb9438762b780a9f52e241d16553 (diff)
downloadllvm-ae9dadecf389d96023589f3ff145da4da6cba92b.zip
llvm-ae9dadecf389d96023589f3ff145da4da6cba92b.tar.gz
llvm-ae9dadecf389d96023589f3ff145da4da6cba92b.tar.bz2
[GlobalISel] Emit opt remarks on isel fallbacks.
Having more fine-grained information on the specific construct that caused us to fallback is valuable for large-scale data collection. We still have the fallback warning, that's also used for FastISel. We still need to remove the fallback warning, and teach FastISel to also emit remarks (it currently has a combination of the warning, stats, and debug prints: the remarks could unify all three). The abort-on-fallback path could also be better handled using remarks: one could imagine a "-Rpass-error", analoguous to "-Werror", which would promote missed/failed remarks to errors. It's not clear whether that would be useful for other remarks though, so we're not there yet. llvm-svn: 296013
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions