Open Quuxplusone opened 3 years ago
Attached bbi-48251.ll
(327 bytes, text/plain): bbi-48251.ll reproducer
Thanks!
I've fixed this particular issue in fed0f890e5698a7a408acaf0aa23319e918f6a2a,
but i suspect there may be more such endless combine loops lurking.
(In reply to Roman Lebedev from comment #1)
> Thanks!
> I've fixed this particular issue in fed0f890e5698a7a408acaf0aa23319e918f6a2a,
> but i suspect there may be more such endless combine loops lurking.
Nice, thanks!
Sorry, not going to hold 11.0.0 for this one unless maybe if we do another release candidate.
This patch does not apply cleanly to the release/11.x branch. Could someone attach a patch that applies or create a branch on your local github for with the patch applied?
I was able to fix the merge conflict.
Roman, what is your opinion about backporting this?
https://github.com/tstellar/llvm-project/pull/271/commits/a2c5b384def332c29b8d3974bb0f1a6128d691e1
We need a conclusion on this by Dec. 14 in order for the fix to be included in the release.
(In reply to Tom Stellard from comment #5)
> I was able to fix the merge conflict.
The conflict is only in tests, not in code.
So before backporting the patch, take llvm/test/Transforms/InstCombine/sub-of-
negatible.ll from trunk,
regenerate check lines, and commit it, and then cherry-pick the fix, discard
test changes in the cherry-pick,
and again regenerate said test file.
> Roman, what is your opinion about backporting this?
>
> https://github.com/tstellar/llvm-project/pull/271/commits/
> a2c5b384def332c29b8d3974bb0f1a6128d691e1
I would like someone familiar with the code to do this backport. I'm not comfortable regenerating test checks without knowing what the correct output should look like.
bbi-48251.ll
(327 bytes, text/plain)