[PATCH] D16795: WholeProgramDevirt: introduce.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 8 15:02:58 PST 2016


pcc updated this revision to Diff 47261.
pcc marked 7 inline comments as done.
pcc added a comment.

- Add invoke test; fix invoke replacement bug
- Use INITIALIZE_PASS
- Move most of the code into a separate struct
- Move buildBitSets to function
- Move rebuildGlobal to function
- Address misc code review comments, add support for explicit sections


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-invoke.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.47261.patch
Type: text/x-patch
Size: 81608 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160208/559595aa/attachment.bin>


More information about the llvm-commits mailing list