Oops, I accidentally broke the fallback case with my last commit.
authorOwen Anderson <resistor@mac.com>
Wed, 3 Sep 2008 17:51:57 +0000 (17:51 +0000)
committerOwen Anderson <resistor@mac.com>
Wed, 3 Sep 2008 17:51:57 +0000 (17:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55704 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/FastISel.cpp

index 6b47e1808f0938fbeb4ecf70029e150409d237b1..12f12bd22c5180910e88236e2e668fb251d5264f 100644 (file)
@@ -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