[PowerPC] Adjust PatchPoints for ppc64le
authorHal Finkel <hfinkel@anl.gov>
Fri, 16 Jan 2015 04:40:58 +0000 (04:40 +0000)
committerHal Finkel <hfinkel@anl.gov>
Fri, 16 Jan 2015 04:40:58 +0000 (04:40 +0000)
commit92cd0ca3b223c3115ae3efc87ab0f9cfcaa64403
tree525568a5788a134f46605fa97d22dc339099a99d
parent525f296ef1f3f9f0254dab3dc30aef1dce4a7796
[PowerPC] Adjust PatchPoints for ppc64le

Bill Schmidt pointed out that some adjustments would be needed to properly
support powerpc64le (using the ELF V2 ABI). For one thing, R11 is not available
as a scratch register, so we need to use R12. R12 is also available under ELF
V1, so to maintain consistency, I flipped the order to make R12 the first
scratch register in the array under both ABIs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226247 91177308-0d34-0410-b5e6-96231b3b80d8
docs/StackMaps.rst
lib/Target/PowerPC/PPCISelLowering.cpp
test/CodeGen/PowerPC/ppc64-patchpoint.ll