[PATCH] D33074: InstCombine: Allow sinking instructions with more uses in the same block.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 15 18:29:37 PDT 2017


efriedma added a comment.

> Typically, canonicalization wants things *hoisted* not *sunk*, to make the values available for redundancy elimination.

Sinking isn't really a canonicalization on its own, but we have canonicalization passes with thresholds which are affected by sinking: jump threading, loop rotation, loop unswitching, etc.


https://reviews.llvm.org/D33074





More information about the llvm-commits mailing list