[StackMaps] Mark in CallLoweringInfo when lowering a patchpoint
authorHal Finkel <hfinkel@anl.gov>
Tue, 13 Jan 2015 17:48:04 +0000 (17:48 +0000)
committerHal Finkel <hfinkel@anl.gov>
Tue, 13 Jan 2015 17:48:04 +0000 (17:48 +0000)
commitb41c7e59a765175c3e274e9dd27a8bbc21abe692
treed6996f0577dcdc7ee7f87c94f872b8496de7e724
parent5e508855d671d5fdc49116d440cd3e543aa0a203
[StackMaps] Mark in CallLoweringInfo when lowering a patchpoint

While, generally speaking, the process of lowering arguments for a patchpoint
is the same as lowering a regular indirect call, on some targets it may not be
exactly the same. Targets may not, for example, want to add additional register
dependencies that apply only to making cross-DSO calls through linker stubs,
may not want to load additional registers out of function descriptors, and may
not want to add additional side-effect-causing instructions that cannot be
removed later with the call itself being generated.

The PowerPC target will use this in a future commit (for all of the reasons
stated above).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225806 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/FastISel.h
include/llvm/Target/TargetLowering.h
lib/CodeGen/SelectionDAG/FastISel.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h