HomePhabricator

[SelectionDAG] Provide adequate register class for RegisterSDNode

Description

[SelectionDAG] Provide adequate register class for RegisterSDNode

When adding operands to machine instructions in case of
RegisterSDNodes, generate a COPY node in case the register class
does not match the one in the instruction definition.

Differental Revision: https://reviews.llvm.org/D35561

Details

Committed
smaksimovicFeb 9 2018, 5:55 AM
Parents
rL324732: [clangd] Fix crash when CompilerInvocation can't be created.
Branches
Unknown
Tags
Unknown