[PATCH] D50248: [GuardWidening] Insert fictive guards to loop preheader to increase chances of widening

Sanjoy Das via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 3 06:48:09 PDT 2018


sanjoy added a comment.

Did you consider phrasing this as an "LICM" on guard?  It is a bit of a code smell in LLVM to do an operation speculatively and then undo it immediately.


https://reviews.llvm.org/D50248





More information about the llvm-commits mailing list