aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-08-20 15:54:46 +0000
committerDan Gohman <gohman@apple.com>2008-08-20 15:54:46 +0000
commitcb0fe7c226ba83ebdbc8d245e0a983b69e0a1954 (patch)
tree1d1ef3a57a16d79b4904c767785a2dd54c0f875c
parent67ca6be16ae434f3edab0b6927fa80d04ad0828e (diff)
Clean up a dead return missed in r55055.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55057 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/TargetSelectionDAG.td5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Target/TargetSelectionDAG.td b/lib/Target/TargetSelectionDAG.td
index 3322ba20cc..d04e56a4e9 100644
--- a/lib/Target/TargetSelectionDAG.td
+++ b/lib/Target/TargetSelectionDAG.td
@@ -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), [{