OSDN Git Service

[Hexagon] Remove redundant assignment.
authorTilmann Scheller <t.scheller@samsung.com>
Fri, 20 Nov 2015 13:27:30 +0000 (13:27 +0000)
committerTilmann Scheller <t.scheller@samsung.com>
Fri, 20 Nov 2015 13:27:30 +0000 (13:27 +0000)
Identified by the Clang static analyzer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253664 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Hexagon/HexagonGenInsert.cpp

index 935f94c..b21e573 100644 (file)
@@ -1495,7 +1495,7 @@ bool HexagonGenInsert::runOnMachineFunction(MachineFunction &MF) {
   // version of DCE that preserves lifetime markers. Without it, merging
   // of stack objects can fail to recognize and merge disjoint objects
   // leading to unnecessary stack growth.
-  Changed |= removeDeadCode(MDT->getRootNode());
+  removeDeadCode(MDT->getRootNode());
 
   const HexagonEvaluator HE(*HRI, *MRI, *HII, MF);
   BitTracker BTLoc(HE, MF);