diff options
author | Andrew Trick <atrick@apple.com> | 2013-11-14 06:54:10 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2013-11-14 06:54:10 +0000 |
commit | 72cf01cc7c8f668a17e7fdfe6aaed50e164cac1b (patch) | |
tree | b9c818979a36538b2eb87abe8b9a543201e8cbd2 /lib/CodeGen/SelectionDAG | |
parent | 27df434c5e8c78e8b3e6e9596b55a6a6bd8d5116 (diff) | |
download | external_llvm-72cf01cc7c8f668a17e7fdfe6aaed50e164cac1b.zip external_llvm-72cf01cc7c8f668a17e7fdfe6aaed50e164cac1b.tar.gz external_llvm-72cf01cc7c8f668a17e7fdfe6aaed50e164cac1b.tar.bz2 |
Minor extension to llvm.experimental.patchpoint: don't require a call.
If a null call target is provided, don't emit a dummy call. This
allows the runtime to reserve as little nop space as it needs without
the requirement of emitting a call.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194676 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp index 98e067e..e80b630 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp @@ -6826,7 +6826,7 @@ void SelectionDAGBuilder::visitStackmap(const CallInst &CI) { /// \brief Lower llvm.experimental.patchpoint directly to its target opcode. void SelectionDAGBuilder::visitPatchpoint(const CallInst &CI) { // void|i64 @llvm.experimental.patchpoint.void|i64(i32 <id>, - // i32 <numNopBytes>, + // i32 <numBytes>, // i8* <target>, // i32 <numArgs>, // [Args...], |