It's useful to have some visibility about which call sites are devirtualized,
especially for debug purposes. Another use case is a regression test on the
application side (like, Chromium).
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Please add a negative test. You can piggyback on one of the many negative tests in the test/Transforms/WholeProgramDevirt directory.
lib/Transforms/IPO/WholeProgramDevirt.cpp | ||
---|---|---|
407 | There should also be a remark emitted in this case. | |
test/Transforms/WholeProgramDevirt/virtual-const-prop-check.ll | ||
6 | These lines won't be matched against unless you prefix them with CHECK:. |
Comment Actions
Thank you for all the catches. Hopefully, all the comments are now addressed. Please, take another look.
There should also be a remark emitted in this case.