[PATCH] D26872: Outliner: Add MIR-level outlining pass

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 27 13:55:24 PST 2017


paquette updated this revision to Diff 89928.
paquette added a comment.

Okay, here's the next revision, everyone!

**Changes**

- Debug info is now skipped over as if it doesn't exist
- isLegalToOutline->getOutliningType, which returns Legal, Illegal, or Invisible. Invisible is used for instructions which should be ignored.
- Combined outliner tests
- Added test with debug info
- Outlined functions are private again without the wonky "hash"
- Style conformance changes, etc.


https://reviews.llvm.org/D26872

Files:
  include/llvm/CodeGen/Passes.h
  include/llvm/InitializePasses.h
  include/llvm/Target/TargetInstrInfo.h
  lib/CodeGen/CMakeLists.txt
  lib/CodeGen/CodeGen.cpp
  lib/CodeGen/MachineOutliner.cpp
  lib/CodeGen/TargetPassConfig.cpp
  lib/Target/X86/X86InstrInfo.cpp
  lib/Target/X86/X86InstrInfo.h
  test/CodeGen/X86/machine-outliner-debuginfo.ll
  test/CodeGen/X86/machine-outliner.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26872.89928.patch
Type: text/x-patch
Size: 73108 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170227/e21d69bd/attachment.bin>


More information about the llvm-commits mailing list