[PATCH] D16795: WholeProgramDevirt: introduce.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 3 19:18:00 PST 2016


pcc updated this revision to Diff 46862.
pcc marked 4 inline comments as done.
pcc added a comment.

- Remove llvm:: in a few places
- Parens
- We can't use RecursivelyDeleteTriviallyDeadInstructions
- Better casting
- Move code into functions; fix some non-determinism
- Use DenseSet
- Simplify a little
- Add negative tests


http://reviews.llvm.org/D16795

Files:
  include/llvm/InitializePasses.h
  include/llvm/Transforms/IPO.h
  include/llvm/Transforms/IPO/PassManagerBuilder.h
  include/llvm/Transforms/IPO/WholeProgramDevirt.h
  lib/Transforms/IPO/CMakeLists.txt
  lib/Transforms/IPO/IPO.cpp
  lib/Transforms/IPO/PassManagerBuilder.cpp
  lib/Transforms/IPO/WholeProgramDevirt.cpp
  test/Transforms/WholeProgramDevirt/bad-read-from-vtable.ll
  test/Transforms/WholeProgramDevirt/constant-arg.ll
  test/Transforms/WholeProgramDevirt/devirt-single-impl.ll
  test/Transforms/WholeProgramDevirt/non-array-vtable.ll
  test/Transforms/WholeProgramDevirt/non-constant-vtable.ll
  test/Transforms/WholeProgramDevirt/uniform-retval.ll
  test/Transforms/WholeProgramDevirt/unique-retval.ll
  test/Transforms/WholeProgramDevirt/vcp-accesses-memory.ll
  test/Transforms/WholeProgramDevirt/vcp-no-this.ll
  test/Transforms/WholeProgramDevirt/vcp-non-constant-arg.ll
  test/Transforms/WholeProgramDevirt/vcp-too-wide-ints.ll
  test/Transforms/WholeProgramDevirt/vcp-type-mismatch.ll
  test/Transforms/WholeProgramDevirt/vcp-uses-this.ll
  test/Transforms/WholeProgramDevirt/virtual-const-prop-begin.ll
  test/Transforms/WholeProgramDevirt/virtual-const-prop-end.ll
  test/tools/gold/X86/disable-verify.ll
  unittests/Transforms/IPO/CMakeLists.txt
  unittests/Transforms/IPO/WholeProgramDevirt.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16795.46862.patch
Type: text/x-patch
Size: 79966 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160204/a973b492/attachment.bin>


More information about the llvm-commits mailing list