Skip to content
Commit 0d77da4e authored by Quentin Colombet's avatar Quentin Colombet
Browse files

[RegBankSelect] Refactor assignmentMatch to avoid testing the current

register bank twice.

Prior to this change, we were checking if the assignment for the current
machine operand was matching, then we would check if the mismatch
requires to insert repair code.
We actually already have this information from the first check, so just
pass it along.

NFCI.

llvm-svn: 270166
parent 78d947b4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment