summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCBranchSelector.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-10-01 01:35:02 +0000
committerChris Lattner <sabre@nondot.org>2005-10-01 01:35:02 +0000
commit919c032fa4511468aadc6f50d6ed9c50890710b3 (patch)
treec6e36c019079fd98cd9e480de3f83c223eb8ea2f /lib/Target/PowerPC/PPCBranchSelector.cpp
parentf85a55b09657094a1e3954728c7f4ca5bdb6f56a (diff)
downloadllvm-919c032fa4511468aadc6f50d6ed9c50890710b3.tar.gz
llvm-919c032fa4511468aadc6f50d6ed9c50890710b3.tar.bz2
llvm-919c032fa4511468aadc6f50d6ed9c50890710b3.tar.xz
Modify the ppc backend to use two register classes for FP: F8RC and F4RC.
These are used to represent float and double values, and the two regclasses contain the same physical registers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23577 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCBranchSelector.cpp')
-rw-r--r--lib/Target/PowerPC/PPCBranchSelector.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCBranchSelector.cpp b/lib/Target/PowerPC/PPCBranchSelector.cpp
index 24187e3b9f..6e0e36f0a1 100644
--- a/lib/Target/PowerPC/PPCBranchSelector.cpp
+++ b/lib/Target/PowerPC/PPCBranchSelector.cpp
@@ -41,7 +41,8 @@ namespace {
// keeping the offsets up to date later when we emit long branch glue.
return 12;
case PPC::IMPLICIT_DEF_GPR: // no asm emitted
- case PPC::IMPLICIT_DEF_FP: // no asm emitted
+ case PPC::IMPLICIT_DEF_F4: // no asm emitted
+ case PPC::IMPLICIT_DEF_F8: // no asm emitted
return 0;
default:
break;