Diff Detail
Diff Detail
Event Timeline
Comment Actions
I could use the same IR that I got the bug on, but it will highly depend on how GVN is combining the instructions. Unfortunatelly I don't know any better approach.
Comment Actions
If the GVN example is reasonable small, that would be fine. In general,
even complex scenarios can be reduced if care is taken to eliminate all
the redundant pieces.
This code is also exercised by simplify-cfg and instcombine. You might
have an easier time constructing a small case from one of those.
Philip
Comment Actions
Well, actually I have no idea why I made extra review. I forgot that http://reviews.llvm.org/D12992 is not yet upstream. I am closing this review. I will also add test case