[polly] r271534 - [FIX] Correctly translate i1 expressions

Johannes Doerfert via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 8 02:15:52 PDT 2016


On 06/07, Tobias Grosser wrote:
> On 06/02/2016 06:57 PM, Johannes Doerfert via llvm-commits wrote:
> > Author: jdoerfert
> > Date: Thu Jun  2 11:57:12 2016
> > New Revision: 271534
> > 
> > URL: http://llvm.org/viewvc/llvm-project?rev=271534&view=rev
> > Log:
> > [FIX] Correctly translate i1 expressions
> 
> Hi Johannes,
> 
> without any further context it is difficult to understand what the
> actual issue here was and how this commit resolves this problem.
> 
> You have done great work in adding unsigned support to Polly -- most of
> this without pre-commit review. In general this is good as it allows us
> to be agile in our development, but this also means we miss an
> opportunity to learn about your implementation. Commit messages can be a
> great way to teach people about your code.
> 
> Could you possibly give a brief explanation _what_ the actual issue was
> and _how_ it has been resolved?
Issue:
  i1 does not include the neutral element for multiplication but that
  is expected by the extractConstantFactor function.
Solution:
  Do not use the factor extracted by extractConstantFactor for i1 types.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: Digital signature
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160608/4c94e242/attachment.sig>


More information about the llvm-commits mailing list