[llvm-commits] [PATCH] Defer some shl transformations from InstCombine to DAGCombine

Chandler Carruth chandlerc at google.com
Wed Apr 18 16:51:02 PDT 2012


Cool, one somewhat unrelated question...

On Wed, Apr 18, 2012 at 4:48 PM, Jakob Stoklund Olesen <stoklund at 2pi.dk>wrote:

> > Can we add a test for the LSR usage as well? Maybe using the same
> pattern as above?
>
> LSR is using SCEV, so I am not so worried about that. LSR tests are also
> tricky because it needs target information, so it can only be run from llc.


Does the newly added '-mtriple' flag to opt allow us to give LSR the
targetinfo it needs? If not, could we add an opt flag to make this easier?
Just a random thought.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120418/9e692a59/attachment.html>


More information about the llvm-commits mailing list