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

Aditya Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 26 15:40:12 PST 2017


hiraditya updated this revision to Diff 85976.
hiraditya added a comment.

Fixed the test case. Also it is not possible to put assert isSafeToSpeculativelyExecute because it does not handle all the cases like call.


https://reviews.llvm.org/D29092

Files:
  llvm/lib/Transforms/Scalar/GVNHoist.cpp
  llvm/test/Transforms/GVNHoist/hoist-unsafe-pr31729.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29092.85976.patch
Type: text/x-patch
Size: 3849 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170126/ef56a270/attachment.bin>


More information about the llvm-commits mailing list