[PATCH] D43221: Teach Wreturn-type, Wunreachable-code, and alpha.deadcode.UnreachableCode to treat __assume(0) like __builtin_unreachable.

Reid Kleckner via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 13 12:43:21 PST 2018


rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.

lgtm

It looks like we already generate llvm.assume() for these and that eventually behaves the same as the unreachable instruction. Neat. :)


https://reviews.llvm.org/D43221





More information about the cfe-commits mailing list