[PATCH] D20143: New pass: guard widening

Sanjoy Das via llvm-commits llvm-commits at lists.llvm.org
Wed May 18 15:35:33 PDT 2016


sanjoy updated this revision to Diff 57689.
sanjoy added a comment.

Use ptrset to avoid exponential behavior, and add test case for it.

(The motivation being that I very quickly ran into a case where a
hoisting threshold of 2 was too small :) )


http://reviews.llvm.org/D20143

Files:
  include/llvm/InitializePasses.h
  include/llvm/LinkAllPasses.h
  include/llvm/Transforms/Scalar.h
  include/llvm/Transforms/Scalar/GuardWidening.h
  lib/Passes/PassBuilder.cpp
  lib/Passes/PassRegistry.def
  lib/Transforms/Scalar/CMakeLists.txt
  lib/Transforms/Scalar/GuardWidening.cpp
  lib/Transforms/Scalar/Scalar.cpp
  test/Transforms/GuardWidening/basic.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20143.57689.patch
Type: text/x-patch
Size: 31340 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160518/bbbc1140/attachment.bin>


More information about the llvm-commits mailing list