summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2008-09-03 17:51:57 +0000
committerOwen Anderson <resistor@mac.com>2008-09-03 17:51:57 +0000
commitb1b9398ea7bd27a7a420b248ec1140ef9b33820d (patch)
treeb6e239263bbd642eb53c660a0b1ab5f38b774768 /llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
parentea666816c217437057cf93294feda4590db9cfc1 (diff)
downloadbcm5719-llvm-b1b9398ea7bd27a7a420b248ec1140ef9b33820d.tar.gz
bcm5719-llvm-b1b9398ea7bd27a7a420b248ec1140ef9b33820d.zip
Oops, I accidentally broke the fallback case with my last commit.
llvm-svn: 55704
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/FastISel.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/FastISel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
index 6b47e1808f0..12f12bd22c5 100644
--- a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
@@ -68,6 +68,8 @@ unsigned FastISel::getRegForValue(Value *V,
BuildMI(MBB, TII.get(TargetInstrInfo::IMPLICIT_DEF), Reg);
return Reg;
}
+
+ return 0;
}
/// UpdateValueMap - Update the value map to include the new mapping for this
OpenPOWER on IntegriCloud