This fixes a regression in 0766c1bd5c0e and restores the expand type
of pointer IV to before the commit.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Please update the patch description to clarify what the "regression" was (does it crash? does it miscompile? does it produce suboptimal code?) and how this fixes it.
Please also minimize the test case (do we need that huge global? etc), convert it to use opaque pointers and use update_test_checks.py.
Comment Actions
The regression was an assert failure in IndVarSimplifyPass. The LIT is over-simplified and doesn't have the assert.
I just find out that the regression only exists in non-opaque-pointer mode. So this fix is not needed.
Sorry for the noise. I should have tested the opaque pointer mode.