mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-26 20:57:15 +00:00
Small cleanup in ARMFastISel initialization.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227400 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a6deca3e1b
commit
92185fdb9f
@ -93,12 +93,11 @@ class ARMFastISel final : public FastISel {
|
||||
explicit ARMFastISel(FunctionLoweringInfo &funcInfo,
|
||||
const TargetLibraryInfo *libInfo)
|
||||
: FastISel(funcInfo, libInfo),
|
||||
Subtarget(
|
||||
&static_cast<const ARMSubtarget &>(funcInfo.MF->getSubtarget())),
|
||||
M(const_cast<Module &>(*funcInfo.Fn->getParent())),
|
||||
TM(funcInfo.MF->getTarget()),
|
||||
TII(*funcInfo.MF->getSubtarget().getInstrInfo()),
|
||||
TLI(*funcInfo.MF->getSubtarget().getTargetLowering()) {
|
||||
Subtarget =
|
||||
&static_cast<const ARMSubtarget &>(funcInfo.MF->getSubtarget());
|
||||
TM(funcInfo.MF->getTarget()), TII(*Subtarget->getInstrInfo()),
|
||||
TLI(*Subtarget->getTargetLowering()) {
|
||||
AFI = funcInfo.MF->getInfo<ARMFunctionInfo>();
|
||||
isThumb2 = AFI->isThumbFunction();
|
||||
Context = &funcInfo.Fn->getContext();
|
||||
|
Loading…
x
Reference in New Issue
Block a user