OSDN Git Service

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)
commit8389f24a66674e5776399f744fa8def3b217bc9e
tree1b629591f9fc3f6493874d4737a8dc6d7d76fc76
parentf31bd0f7d92fdab64a478ccf6497e887d454d4af
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).

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