[PATCH] D31834: Remove unnecessary bitvector clear

Xin Tong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 10 11:06:50 PDT 2017


trentxintong created this revision.

Remove unnecessary bitvector clear.


https://reviews.llvm.org/D31834

Files:
  lib/CodeGen/DeadMachineInstructionElim.cpp


Index: lib/CodeGen/DeadMachineInstructionElim.cpp
===================================================================
--- lib/CodeGen/DeadMachineInstructionElim.cpp
+++ lib/CodeGen/DeadMachineInstructionElim.cpp
@@ -169,6 +169,5 @@
     }
   }
 
-  LivePhysRegs.clear();
   return AnyChanges;
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31834.94576.patch
Type: text/x-patch
Size: 296 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170410/648d26b7/attachment.bin>


More information about the llvm-commits mailing list