]> granicus.if.org Git - llvm/commit
[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)
commit4e878ddc59d14fc8aafefd1a5e9a083fb7870938
treeae80ab6701d031106b8590207db307804274d6bc
parente55d66cf1706a1b12512ffb8304058f60397b9c7
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351206 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86RegisterInfo.td