[PATCH] D16704: Avoid overly large SmallPtrSet/SmallSet

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 28 19:43:32 PST 2016


MatzeB created this revision.
MatzeB added reviewers: chandlerc, echristo, reames.
MatzeB added a subscriber: llvm-commits.
MatzeB set the repository for this revision to rL LLVM.
Herald added subscribers: mcrosier, MatzeB.

These sets perform linear searching in small mode so it is never a good
idea to use SmallSize/N bigger than 32.

Repository:
  rL LLVM

http://reviews.llvm.org/D16704

Files:
  include/llvm/Analysis/DemandedBits.h
  include/llvm/IR/DebugInfo.h
  include/llvm/MC/MCAssembler.h
  lib/Analysis/CFG.cpp
  lib/Analysis/GlobalsModRef.cpp
  lib/Analysis/MemoryDependenceAnalysis.cpp
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
  lib/CodeGen/SelectionDAG/StatepointLowering.cpp
  lib/CodeGen/SjLjEHPrepare.cpp
  lib/Support/CommandLine.cpp
  lib/Target/ARM/ARMISelLowering.cpp
  lib/Transforms/IPO/MergeFunctions.cpp
  lib/Transforms/IPO/SampleProfile.cpp
  lib/Transforms/InstCombine/InstructionCombining.cpp
  lib/Transforms/Scalar/ADCE.cpp
  lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
  lib/Transforms/Utils/Local.cpp
  lib/Transforms/Utils/SplitModule.cpp
  tools/bugpoint/CrashDebugger.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16704.46336.patch
Type: text/x-patch
Size: 12802 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160129/0f455095/attachment.bin>


More information about the llvm-commits mailing list