[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
Wed Mar 15 01:53:42 PDT 2017


jmolloy accepted this revision.
jmolloy added a comment.
This revision is now accepted and ready to land.

Hi David,

I agree that a hanging test is not ideal. However, if it's a choice between that or silently regressing, I'd prefer a hanging test. At least people will *notice* if it starts taking an ice age to complete.

LGTM, but can you double check that the test is actually run? I thought LIT only inspected the top rows for RUN: lines and stopped when it found a non-RUN: line.

James


https://reviews.llvm.org/D30689





More information about the llvm-commits mailing list