The loop invariant add (i+j) is reassoicated, I think the FIXME can be removed, because this is what the test case tries to check (AFAIK). I also changed the test to use FileCheck.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
I couldn't find a revision to pin down (I didn't try hard though).
But the previous check also checked for a similar thing, making sure reg115 and reg117 are not on the same line/used in the same instruction. So I am not entirely sure why the FIXME was still there.
Comment Actions
This probably comes from when I was adding support for FP in the reassociation pass many years ago. I don't recall exactly why I added the FIXME, but the original test was checking that (i+j) gets reassociated, so I agree with Florian's change.