This is an archive of the discontinued LLVM Phabricator instance.

[Test] Add regression test for PR46195.
AbandonedPublic

Authored by rickyz on Jun 4 2020, 5:48 AM.

Details

Reviewers
spatel
Summary

21dadd774f56778ef68c1ce307205dfbdacc793a introduced a bug causing
DAGCombiner to incorrectly order a promoted load. Add a regression test
that would have caught this.

Diff Detail

Event Timeline

rickyz created this revision.Jun 4 2020, 5:48 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 4 2020, 5:48 AM
rickyz updated this revision to Diff 268445.Jun 4 2020, 5:52 AM

Fix typo.

rickyz updated this revision to Diff 268446.Jun 4 2020, 5:54 AM

(One more typo fix, sorry.)

spatel added a comment.Jun 4 2020, 6:22 AM

Sorry - I didn't get the email notification for this review before I started working on the same thing.
Can you see if rG652b375 covers it? I reduced a bit more from the test that you provided in the bug report - thanks!

rickyz abandoned this revision.Jun 4 2020, 6:36 AM

Ah, no worries, I'll abandon this change in favor of that one then, thanks!