OSDN Git Service

Fix silly typo.
authorEli Friedman <eli.friedman@gmail.com>
Mon, 16 May 2011 20:34:53 +0000 (20:34 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Mon, 16 May 2011 20:34:53 +0000 (20:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131419 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/FastISel.cpp

index 27e4d01..e0367e9 100644 (file)
@@ -842,7 +842,7 @@ FastISel::SelectFNeg(const User *I) {
 bool
 FastISel::SelectExtractValue(const User *U) {
   const ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(U);
-  if (!U)
+  if (!EVI)
     return false;
 
   // Make sure we only try to handle extracts with a legal result.