[X86] Reject registers that require a REX prefix in inline asm constraints in 32...
authorCraig Topper <craig.topper@intel.com>
Tue, 6 Mar 2018 18:56:33 +0000 (18:56 +0000)
committerCraig Topper <craig.topper@intel.com>
Tue, 6 Mar 2018 18:56:33 +0000 (18:56 +0000)
commit274e08dd81aaa557cb5a177577c034459f12158d
tree95eb5afb339162dd65db2342b725ecb3db7046ba
parent0f72225433d46561b9b4764970536c7b9c9c7055
[X86] Reject registers that require a REX prefix in inline asm constraints in 32-bit mode

We don't currently reject r8-r15 or xmm8-32 or bpl/spl/sil/dil in 32-bit mode.

Differential Revision: https://reviews.llvm.org/D44031

llvm-svn: 326826
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/asm-reject-rex.ll [new file with mode: 0644]
llvm/test/CodeGen/X86/asm-reject-xmm16.ll