I shoulda done this a *long* time ago (tm): implement calls properly,
authorDuraid Madina <duraid@octopus.com.au>
Thu, 22 Dec 2005 04:07:40 +0000 (04:07 +0000)
committerDuraid Madina <duraid@octopus.com.au>
Thu, 22 Dec 2005 04:07:40 +0000 (04:07 +0000)
commit98d1378343c0e38b29dee4eba085230f81cb7ca2
tree6fe23edb916b60794e34110eb29343227d233257
parenta36153a961c70e7216ededdb268e22557c093a8a
I shoulda done this a *long* time ago (tm): implement calls properly,
i.e. r1/r12/rp are saved/restored regardless of scheduling/luck

TODO: calls to external symbols, indirect (function descriptor) calls,
      performance (we're being paranoid right now)

BUG: the code for handling calls to vararg functions breaks if FP
args are passed (this will make printf() go haywire so a bunch of
tests will fail)

BUG: this seems to trigger some legalize nastiness

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24942 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/IA64/IA64ISelLowering.cpp