Skip to content
  • Dan Gohman's avatar
    When canonicalizing icmp operand order to put the loop invariant · ee2fea3c
    Dan Gohman authored
    operand on the left, the interesting operand is on the right. This
    fixes a bug where LSR was failing to recognize ICmpZero uses,
    which led it to be unable to reverse the induction variable in the
    attached testcase.
    
    Delete test/CodeGen/X86/stack-color-with-reg-2.ll, because its test
    is extremely fragile and hard to meaningfully update.
    
    llvm-svn: 104262
    ee2fea3c
Loading