[PATCH] D32621: TargetLowering: Add finalizeLowering() function
Matthias Braun via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 27 16:05:46 PDT 2017
MatzeB created this revision.
Herald added subscribers: igorb, mcrosier.
Adds a new method `finalizeLowering` to TargetLoweringBase. This is in preparation for an upcoming commit.
This function is meant for target specific adjustments to MachineFrameInfo or register reservations.
Move the freezeRegisters() and the `hasCopyImplyingStackAdjustment()` handling into the new function to prove the concept. As an added bonus GlobalISel no longer missed the `hasCopyImplyingStackAdjustment()` handling with this.
Repository:
rL LLVM
https://reviews.llvm.org/D32621
Files:
include/llvm/Target/TargetLowering.h
lib/CodeGen/GlobalISel/IRTranslator.cpp
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
lib/CodeGen/TargetLoweringBase.cpp
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86ISelLowering.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32621.97010.patch
Type: text/x-patch
Size: 5450 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170427/dfbc7270/attachment.bin>
More information about the llvm-commits
mailing list