Reapply 105986 with fix for bug pointed out by Jakob:
authorDale Johannesen <dalej@apple.com>
Tue, 15 Jun 2010 21:36:43 +0000 (21:36 +0000)
committerDale Johannesen <dalej@apple.com>
Tue, 15 Jun 2010 21:36:43 +0000 (21:36 +0000)
commitbf37850e4289308c7d74d720b1d9556c99b6719d
treeb651aa68ce2e09381c076c13d51d72018ce54d60
parent381cd02688c5e4b026760166fb547276af8499be
Reapply 105986 with fix for bug pointed out by Jakob:
flag argument to addReg is not the same format as flags attached
to MachineOperand, although both have the same info.  I don't
think this actually mattered; the bootstrap failure did not
reproduce on the next run anyway.

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