This is an archive of the discontinued LLVM Phabricator instance.

[DAGCombine] Fix for PR35765
ClosedPublic

Authored by samparker on Dec 29 2017, 1:55 AM.

Details

Summary

Remove the acceptance of ANY_EXTEND nodes while trying to move and nodes back to loads.

Bugzilla: https://bugs.llvm.org/show_bug.cgi?id=35765

Diff Detail

Repository
rL LLVM

Event Timeline

samparker created this revision.Dec 29 2017, 1:55 AM
RKSimon added a subscriber: RKSimon.
RKSimon added inline comments.
test/CodeGen/X86/pr35765.ll
1 ↗(On Diff #128323)

Please use the utils\update_llc_test_checks.py to regenerate the checks

samparker updated this revision to Diff 128336.Dec 29 2017, 7:15 AM

Generated test.

RKSimon accepted this revision.Dec 29 2017, 2:23 PM

LGTM thanks. If possible, please commit pr35765.ll before the patch with the current codegen, then commit the patch with the fixed codegen in pr35765.ll to show the change,

This revision is now accepted and ready to land.Dec 29 2017, 2:23 PM
This revision was automatically updated to reflect the committed changes.