[llvm-commits] [llvm] r55057 - /llvm/trunk/lib/Target/TargetSelectionDAG.td
Dan Gohman
gohman at apple.com
Wed Aug 20 08:54:47 PDT 2008
Author: djg
Date: Wed Aug 20 10:54:46 2008
New Revision: 55057
URL: http://llvm.org/viewvc/llvm-project?rev=55057&view=rev
Log:
Clean up a dead return missed in r55055.
Modified:
llvm/trunk/lib/Target/TargetSelectionDAG.td
Modified: llvm/trunk/lib/Target/TargetSelectionDAG.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/TargetSelectionDAG.td?rev=55057&r1=55056&r2=55057&view=diff
==============================================================================
--- llvm/trunk/lib/Target/TargetSelectionDAG.td (original)
+++ llvm/trunk/lib/Target/TargetSelectionDAG.td Wed Aug 20 10:54:46 2008
@@ -614,9 +614,8 @@
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), [{
More information about the llvm-commits
mailing list