OSDN Git Service

Gaar! Don't use r11 for CR save/restore, use R0. R11 can be register
authorChris Lattner <sabre@nondot.org>
Mon, 12 Jun 2006 23:59:16 +0000 (23:59 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 12 Jun 2006 23:59:16 +0000 (23:59 +0000)
commite67304fb7880bd55d194d68b827c0eb2366c0a91
tree1929a1fbc7c8b8de4b3b73e967afc0889576e775
parentb47e0897a090d31d952957ba873db6c1e487b50e
Gaar!  Don't use r11 for CR save/restore, use R0.  R11 can be register
allocated, thus live across the save/reload.  This fixes

llc-beta /MultiSource/Applications/spiff/spiff
llc-beta /MultiSource/Benchmarks/sim/sim:
llc-beta /MultiSource/Benchmarks/Ptrdist/bc/bc
llc-beta /MultiSource/Benchmarks/McCat/12-IOtest/iotest:
llc-beta /MultiSource/Benchmarks/FreeBench/fourinarow/fourinarow
llc-beta /MultiSource/Benchmarks/Fhourstones-3.1/fhourstones3.1
llc-beta /MultiSource/Benchmarks/mediabench/adpcm/rawdaudio/rawdaudio
llc-beta /MultiSource/Benchmarks/mediabench/adpcm/rawcaudio/rawcaudio
llc-beta /MultiSource/Benchmarks/mediabench/g721/g721encode/encode
llc-beta /MultiSource/Benchmarks/mediabench/jpeg/jpeg-6a/cjpeg

and probably others, with -regalloc=local.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28761 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCRegisterInfo.cpp