[X86] Fix register class for assembly constraints to ST(7). NFCI.
authorNirav Dave <niravd@google.com>
Tue, 15 Jan 2019 17:09:14 +0000 (17:09 +0000)
committerNirav Dave <niravd@google.com>
Tue, 15 Jan 2019 17:09:14 +0000 (17:09 +0000)
commitdbc41bac0cdf958786e6c3d0bf07565180b90570
tree39a3205b5aa09add2a7751371654fd4d3f48f0bd
parent58aac950811e9b05c598b52ff975b4b56826b553
[X86] Fix register class for assembly constraints to ST(7). NFCI.

Modify getRegForInlineAsmConstraint to return special singleton
register class when a constraint references ST(7) not RFP80 for which
ST(7) is not a member.

llvm-svn: 351206
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/lib/Target/X86/X86RegisterInfo.td