diff options
Diffstat (limited to 'llvm/lib/Target/ARM/ARMSelectionDAGInfo.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/ARMSelectionDAGInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMSelectionDAGInfo.cpp b/llvm/lib/Target/ARM/ARMSelectionDAGInfo.cpp index 3dcc0df349d..fa30ac31a30 100644 --- a/llvm/lib/Target/ARM/ARMSelectionDAGInfo.cpp +++ b/llvm/lib/Target/ARM/ARMSelectionDAGInfo.cpp @@ -157,7 +157,7 @@ EmitTargetCodeForMemset(SelectionDAG &DAG, SDLoc dl, return SDValue(); const ARMTargetLowering &TLI = - *static_cast<const ARMTargetLowering*>(DAG.getTarget().getTargetLowering()); + *DAG.getTarget().getSubtarget<ARMSubtarget>().getTargetLowering(); TargetLowering::ArgListTy Args; TargetLowering::ArgListEntry Entry; |