[PATCH] D18527: Introduce a @llvm.experimental.guard.on intrinsic
Sanjoy Das via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 28 14:14:42 PDT 2016
sanjoy created this revision.
sanjoy added reviewers: reames, atrick, chandlerc, rnk, JosephTremoulet, echristo.
sanjoy added a subscriber: llvm-commits.
Herald added a subscriber: mcrosier.
As discussed on llvm-dev[1].
This change adds the basic boilerplate code around having this intrinsic
in LLVM:
- Changes in Intrinsics.td, and the IR Verifier
- A lowering pass to lower @llvm.experimental.guard.on to normal
control flow
- Inliner support
[1]: http://lists.llvm.org/pipermail/llvm-dev/2016-February/095523.html
http://reviews.llvm.org/D18527
Files:
docs/LangRef.rst
include/llvm/IR/Intrinsics.td
include/llvm/InitializePasses.h
include/llvm/Transforms/Scalar.h
lib/IR/Verifier.cpp
lib/Transforms/Scalar/CMakeLists.txt
lib/Transforms/Scalar/LowerGuardIntrinsic.cpp
lib/Transforms/Scalar/Scalar.cpp
lib/Transforms/Utils/InlineFunction.cpp
test/Transforms/Inline/guard-intrinsic.ll
test/Transforms/LowerGuardIntrinsic/basic.ll
test/Verifier/guard-intrinsic.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18527.51840.patch
Type: text/x-patch
Size: 13783 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160328/5eb742f4/attachment.bin>
More information about the llvm-commits
mailing list