Skip to content

Commit

Permalink
[AVR] Migrate to new StructType::get owing to Supress all uses of LLV…
Browse files Browse the repository at this point in the history
…M_END_WITH_NULL

Reviewers: dylanmckay, jroelofs, RKSimon, serge-sans-paille

Reviewed By: serge-sans-paille

Differential Revision: https://reviews.llvm.org/D33119


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302885 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
xiangzhai committed May 12, 2017
1 parent 0a65c23 commit 6920a45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Target/AVR/AVRISelLowering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ SDValue AVRTargetLowering::LowerDivRem(SDValue Op, SelectionDAG &DAG) const {
SDValue Callee = DAG.getExternalSymbol(getLibcallName(LC),
getPointerTy(DAG.getDataLayout()));

Type *RetTy = (Type *)StructType::get(Ty, Ty, nullptr);
Type *RetTy = (Type *)StructType::get(Ty, Ty);

SDLoc dl(Op);
TargetLowering::CallLoweringInfo CLI(DAG);
Expand Down

0 comments on commit 6920a45

Please sign in to comment.