<div class="gmail_quote">On Wed, Apr 18, 2012 at 12:22 AM, Jakob Stoklund Olesen <span dir="ltr"><<a href="mailto:stoklund@2pi.dk">stoklund@2pi.dk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>I tried disabling just the InstCombine transforms that hide shl instructions behind bitmasks. Even though DAGCombine has the same transforms, it causes some pretty bad regressions:</div><div></div></blockquote></div>
<br><div>I wonder about your idea of still combining most of the shifts, but leaving the last bits uncombined... Certainly the combining effects seem particularly important to capture because we'll only look through a finite number of shifts to determine demanded bits, etc.</div>
<div><br></div><div>I would expect that, even with the fix, demanded bits might need adjusting to cope with the pattern.</div><div><br></div><div>But this is all theorizing. =] The actually regressions will likely tell more.</div>