aboutsummaryrefslogtreecommitdiffstats
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
commit9ecc0c73c371ddf95184b9b75a66d92c17160ad7 (patch)
treef8c53d00218c61a8e464d2c1829cb609e35376bc /lib/CodeGen/SelectionDAG/FastISel.cpp
parent95a87fdc33d8f0dff5ffb35839c4369619db0577 (diff)
downloadexternal_llvm-9ecc0c73c371ddf95184b9b75a66d92c17160ad7.zip
external_llvm-9ecc0c73c371ddf95184b9b75a66d92c17160ad7.tar.gz
external_llvm-9ecc0c73c371ddf95184b9b75a66d92c17160ad7.tar.bz2
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 6b47e18..12f12bd 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