[PATCH] D29092: PR31729: [GVNHoist] Don't hoist unsafe scalars at -Oz

Mehdi AMINI via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 23 13:24:29 PST 2017


mehdi_amini added a comment.

I'd add also that `isSafeToSpeculativelyExecute` may be conservative right now, but it should improve with https://reviews.llvm.org/D20116
So it is even unclear to me which cases GVN hoist would be able to catch that are not in the realm of  `isSafeToSpeculativelyExecute`.


https://reviews.llvm.org/D29092





More information about the llvm-commits mailing list