Clean up a dead return missed in r55055.
authorDan Gohman <gohman@apple.com>
Wed, 20 Aug 2008 15:54:46 +0000 (15:54 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 20 Aug 2008 15:54:46 +0000 (15:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55057 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/TargetSelectionDAG.td

index 3322ba20ccd78090d5c90dace051bb6141272dac..d04e56a4e9b472fc6ddc189816cf8caa0ca61ccf 100644 (file)
@@ -614,9 +614,8 @@ def truncstorei16 : PatFrag<(ops node:$val, node:$ptr),
 def truncstorei32 : PatFrag<(ops node:$val, node:$ptr),
                             (st node:$val, node:$ptr), [{
   StoreSDNode *ST = cast<StoreSDNode>(N);
-    return ST->isTruncatingStore() && ST->getMemoryVT() == MVT::i32 &&
-           ST->getAddressingMode() == ISD::UNINDEXED;
-  return false;
+  return ST->isTruncatingStore() && ST->getMemoryVT() == MVT::i32 &&
+         ST->getAddressingMode() == ISD::UNINDEXED;
 }]>;
 def truncstoref32 : PatFrag<(ops node:$val, node:$ptr),
                             (st node:$val, node:$ptr), [{