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 | 561f2218e0cc947d74396016cbe4222a4bbb1d49 (patch) | |
tree | 4f37202a212137e2a457c5e8cb2951d26f008a42 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | |
parent | 519b9e357fa1bd7279d094a335dfaae03267912f (diff) | |
download | bcm5719-llvm-561f2218e0cc947d74396016cbe4222a4bbb1d49.tar.gz bcm5719-llvm-561f2218e0cc947d74396016cbe4222a4bbb1d49.zip |
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.
llvm-svn: 194676
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp index 98e067ebd49..e80b63021f1 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp +++ b/llvm/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...], |