[PATCH] D30689: [ConstantFolding] Small fix to prevent constant folding having to repeatedly scan operands.
James Molloy via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 14 01:54:09 PDT 2017
jmolloy added a comment.
The original code looks significantly dodgy to me. From a read of the code and the intent, I think your change is right (the original code always added {FoldedC, FoldedC} which is totally bogus).
However, I think a testcase should be possible?
James
https://reviews.llvm.org/D30689
More information about the llvm-commits
mailing list