[llvm-commits] [PATCH] Fix: instcombine does not get max if hidden by sext
Tobias Grosser
grosser at fim.uni-passau.de
Mon Jan 3 20:52:16 PST 2011
Hi,
I fixed a recent bug report, that blocked me on a large FORTRAN test case:
InstCombine:
X = sext x ; x < c ? X : C-1
-->
X = sext x; X > C-1 ? C-1 : X
Instead of calculating this with mixed types promote all to the
larger type. This enables scalar evolution to analyze this
expression. PR8866
OK for commit?
Tobi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-InstCombine.patch
Type: text/x-diff
Size: 6359 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110103/ee687fc0/attachment.patch>
More information about the llvm-commits
mailing list