Commit 3a80bdb3 authored by Amara Emerson's avatar Amara Emerson
Browse files

[GlobalISel] Remove an erroneous oneuse check in the G_ADD reassociation combine.

This check was unnecessary/incorrect, it was already being done by the target
hook default implementation, and the one in the matcher was checking for a
completely different thing. This change:
 1) Removes the check and updates affected tests which now do some more reassociations.
 2) Modifies the AMDGPU hooks which were stubbed with "return true" to also do the oneuse
    check. Not sure why I didn't do this the first time.
parent 0ab14951
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment