Minor extension to llvm.experimental.patchpoint: don't require a call.
authorAndrew Trick <atrick@apple.com>
Thu, 14 Nov 2013 06:54:10 +0000 (06:54 +0000)
committerAndrew Trick <atrick@apple.com>
Thu, 14 Nov 2013 06:54:10 +0000 (06:54 +0000)
commit72cf01cc7c8f668a17e7fdfe6aaed50e164cac1b
treeb9c818979a36538b2eb87abe8b9a543201e8cbd2
parent27df434c5e8c78e8b3e6e9596b55a6a6bd8d5116
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
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/Target/X86/X86MCInstLower.cpp
test/CodeGen/X86/patchpoint.ll