[PATCH] D17732: Introduce @llvm.experimental.deoptimize

Sanjoy Das via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 7 15:54:22 PST 2016


sanjoy updated this revision to Diff 50005.
sanjoy marked 6 inline comments as done.
sanjoy updated the summary for this revision.
sanjoy added a comment.
Herald added a subscriber: MatzeB.

- Add a lowering strategy to FastISel and SelectionDAG -- the intrinsic is lowered to `__llvm_deoptimize`.
- The intrinsic now takes an argument of unspecified type.  The contract of what the argument means and how `__llvm_deoptimize` interprets it is open-ended and up to the frontend.


http://reviews.llvm.org/D17732

Files:
  docs/LangRef.rst
  include/llvm/ADT/STLExtras.h
  include/llvm/IR/BasicBlock.h
  include/llvm/IR/CallSite.h
  include/llvm/IR/Intrinsics.td
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  lib/IR/BasicBlock.cpp
  lib/IR/Verifier.cpp
  lib/Target/X86/X86FastISel.cpp
  lib/Transforms/Utils/InlineFunction.cpp
  test/CodeGen/X86/deoptimize-intrinsic.ll
  test/Transforms/Inline/deoptimize-intrinsic.ll
  test/Verifier/deoptimize-intrinsic.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17732.50005.patch
Type: text/x-patch
Size: 15854 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160307/db06a6ed/attachment.bin>


More information about the llvm-commits mailing list