getX86SubSuperRegister has a special mode with High=true for i64 which
authorEli Bendersky <eliben@google.com>
Thu, 21 Feb 2013 16:40:18 +0000 (16:40 +0000)
committerEli Bendersky <eliben@google.com>
Thu, 21 Feb 2013 16:40:18 +0000 (16:40 +0000)
commite93249befaa2383cc34c27771265123090cda085
treeac2ea1354c35ee93fdc52783312cee5ba7fb6f16
parent0137455fab24abe02eb3c599fbf640208385148a
getX86SubSuperRegister has a special mode with High=true for i64 which
exists solely to enable it to call itself for i8 with some registers.
The proposed patch simplifies the function somewhat to make the High
bit only meaningful for the i8 mode, which makes sense. No functional
difference (getX86SubSuperRegister is not getting called from anywhere
outside with i64 and High=true).

llvm-svn: 175762
llvm/lib/Target/X86/X86RegisterInfo.cpp