[PATCH] D30910: [SimplifyCFG] allow speculation of div/rem when sibling op exists (PR31028)

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 13 17:03:08 PDT 2017


efriedma added a comment.

TTI::getUserCost, maybe?  Not sure our costs are accurate for illegal types.

---

I wonder if it would make sense to perform this transform in EarlyCSE or something like that instead; it might be worthwhile even if we can't speculate the whole basic block.


https://reviews.llvm.org/D30910





More information about the llvm-commits mailing list