Fix the use of x86 control and debug registers so that the assertion failure in
authorKevin Enderby <enderby@apple.com>
Fri, 28 May 2010 19:01:27 +0000 (19:01 +0000)
committerKevin Enderby <enderby@apple.com>
Fri, 28 May 2010 19:01:27 +0000 (19:01 +0000)
commit31b6c5b2f3118ba8ab9366ecf37085a26be6db97
tree3fa3a796b7dec9a789c9efea2fbe063410b822cb
parent9d8d221a6864872a3b5c272e83adbf18f3c6a1af
Fix the use of x86 control and debug registers so that the assertion failure in
getX86RegNum() does not happen.  Patch by Shantonu Sen!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104994 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86RegisterInfo.cpp
test/MC/AsmParser/X86/x86_32-new-encoder.s