aboutsummaryrefslogtreecommitdiff
path: root/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
commitd5d81a457b5ff758b3fcc527af38827490bc68a5 (patch)
treef8c53d00218c61a8e464d2c1829cb609e35376bc /lib/CodeGen/SelectionDAG/FastISel.cpp
parent99aaf108cdf4ac5b972757abbf4e0a3d547804b1 (diff)
Oops, I accidentally broke the fallback case with my last commit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55704 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/FastISel.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/FastISel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/FastISel.cpp b/lib/CodeGen/SelectionDAG/FastISel.cpp
index 6b47e1808f..12f12bd22c 100644
--- a/lib/CodeGen/SelectionDAG/FastISel.cpp
+++ b/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