[PATCH] D19046: Introduce a "patchable-prologue" function attribute

Sanjoy Das via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 15 13:35:59 PDT 2016


sanjoy updated this revision to Diff 53941.
sanjoy added a comment.
Herald added a subscriber: joker.eph.

- Changed to use a pseudo instruction `PATCHABLE_OP`, as per @dberris, the code looks a lot cleaner now!
- Renamed `"prologue-hotpatch-compact"` to `"prologue-short-redirect"`

There is some cleanup we can do after this, that I'll do separately
once this lands:

- Simplify `StackMapShadowTracker`
- Split out `EmitNops` so that the assert using `OnlyOneNop` can instead live in its caller.


http://reviews.llvm.org/D19046

Files:
  docs/LangRef.rst
  include/llvm/CodeGen/Passes.h
  include/llvm/InitializePasses.h
  include/llvm/Target/Target.td
  include/llvm/Target/TargetFrameLowering.h
  include/llvm/Target/TargetOpcodes.def
  lib/CodeGen/CMakeLists.txt
  lib/CodeGen/CodeGen.cpp
  lib/CodeGen/Passes.cpp
  lib/CodeGen/PatchableFunction.cpp
  lib/Target/X86/X86AsmPrinter.cpp
  lib/Target/X86/X86AsmPrinter.h
  lib/Target/X86/X86MCInstLower.cpp
  test/CodeGen/X86/patchable-prologue.ll
  test/TableGen/trydecode-emission.td
  test/TableGen/trydecode-emission2.td
  test/TableGen/trydecode-emission3.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19046.53941.patch
Type: text/x-patch
Size: 21752 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160415/3e8289f7/attachment.bin>


More information about the llvm-commits mailing list