If an xmm register is referenced explicitly in an inline asm, make sure to
authorChris Lattner <sabre@nondot.org>
Tue, 26 Aug 2008 06:19:02 +0000 (06:19 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 26 Aug 2008 06:19:02 +0000 (06:19 +0000)
commit6ba50a92525521b46ef5c72ee5a0f80ba0263c01
tree0f82cb2604469039e9905639fda8d26165004688
parent09c5d8baa2c068fead50630ec2432a5dd1e7b904
If an xmm register is referenced explicitly in an inline asm, make sure to
assign it to a version of the xmm register with the regclass that matches its
type.  This fixes PR2715, a bug handling some crazy xpcom case in mozilla.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55358 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/2008-08-25-AsmRegTypeMismatch.ll [new file with mode: 0644]