[PATCH] D13220: Optimize DeadCodeEliminationPass

escha via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 28 12:09:53 PDT 2015


escha created this revision.
escha added reviewers: resistor, reames, marcello.maggioni.
escha added a subscriber: llvm-commits.
escha set the repository for this revision to rL LLVM.

This pass is currently doing an O(N) search of a vector on each iteration; let's rewrite it to work the same way as simplifyInstructionsInBlock.

Repository:
  rL LLVM

http://reviews.llvm.org/D13220

Files:
  lib/Transforms/Scalar/DCE.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13220.35898.patch
Type: text/x-patch
Size: 3833 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150928/5b943c6d/attachment.bin>


More information about the llvm-commits mailing list