From 644db4ec5fbf7978da1c49799da7f916b210416e Mon Sep 17 00:00:00 2001
From: Chris Lattner <sabre@nondot.org>
Date: Sat, 9 Apr 2005 03:22:30 +0000
Subject: [PATCH] This target does not yet support ISD::BRCONDTWOWAY

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21163 91177308-0d34-0410-b5e6-96231b3b80d8
---
 lib/Target/PowerPC/PPC64ISelPattern.cpp | 1 +
 lib/Target/PowerPC/PPCISelPattern.cpp   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/lib/Target/PowerPC/PPC64ISelPattern.cpp b/lib/Target/PowerPC/PPC64ISelPattern.cpp
index 773299c3869..0d706f80f8f 100644
--- a/lib/Target/PowerPC/PPC64ISelPattern.cpp
+++ b/lib/Target/PowerPC/PPC64ISelPattern.cpp
@@ -47,6 +47,7 @@ namespace {
       addRegisterClass(MVT::f64, PPC64::FPRCRegisterClass);
       
       // PowerPC has no intrinsics for these particular operations
+      setOperationAction(ISD::BRCONDTWOWAY, MVT::Other, Expand);
       setOperationAction(ISD::MEMMOVE, MVT::Other, Expand);
       setOperationAction(ISD::MEMSET, MVT::Other, Expand);
       setOperationAction(ISD::MEMCPY, MVT::Other, Expand);
diff --git a/lib/Target/PowerPC/PPCISelPattern.cpp b/lib/Target/PowerPC/PPCISelPattern.cpp
index aea11e4b12d..7ad633a39d8 100644
--- a/lib/Target/PowerPC/PPCISelPattern.cpp
+++ b/lib/Target/PowerPC/PPCISelPattern.cpp
@@ -49,6 +49,7 @@ namespace {
       addRegisterClass(MVT::f64, PPC32::FPRCRegisterClass);
       
       // PowerPC has no intrinsics for these particular operations
+      setOperationAction(ISD::BRCONDTWOWAY, MVT::Other, Expand);
       setOperationAction(ISD::MEMMOVE, MVT::Other, Expand);
       setOperationAction(ISD::MEMSET, MVT::Other, Expand);
       setOperationAction(ISD::MEMCPY, MVT::Other, Expand);