simplify result value lowering by splitting the selection of *where* to return
authorChris Lattner <sabre@nondot.org>
Sun, 25 Feb 2007 08:15:11 +0000 (08:15 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 25 Feb 2007 08:15:11 +0000 (08:15 +0000)
commitcb18656734c374737f27c10750a3b532ac41ab26
tree717761d39a8cdcb5d89b122c175917a0f41a8840
parent31d16b039adbb65d36722d8efd29a6c329d4b20a
simplify result value lowering by splitting the selection of *where* to return
registers out from the logic of *how* to return them.

This changes X86-64 to mark EAX live out when returning a 32-bit value,
where before it marked RAX liveout.

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