summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AVR
diff options
context:
space:
mode:
authorLeslie Zhai <lesliezhai@llvm.org.cn>2017-05-12 09:08:03 +0000
committerLeslie Zhai <lesliezhai@llvm.org.cn>2017-05-12 09:08:03 +0000
commita1149e01d2d3eb8186d7f14f8f3440124bb94276 (patch)
tree7137279214b7ba5e4095e0d661f4208a9c8e5b5f /llvm/lib/Target/AVR
parentb4081bb0ab7dc26909de94251807ce68b4806b6d (diff)
downloadbcm5719-llvm-a1149e01d2d3eb8186d7f14f8f3440124bb94276.tar.gz
bcm5719-llvm-a1149e01d2d3eb8186d7f14f8f3440124bb94276.zip
[AVR] Migrate to new StructType::get owing to Supress all uses of LLVM_END_WITH_NULL
Reviewers: dylanmckay, jroelofs, RKSimon, serge-sans-paille Reviewed By: serge-sans-paille Differential Revision: https://reviews.llvm.org/D33119 llvm-svn: 302885
Diffstat (limited to 'llvm/lib/Target/AVR')
-rw-r--r--llvm/lib/Target/AVR/AVRISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AVR/AVRISelLowering.cpp b/llvm/lib/Target/AVR/AVRISelLowering.cpp
index 075d30ae314..0d8c44e8761 100644
--- a/llvm/lib/Target/AVR/AVRISelLowering.cpp
+++ b/llvm/lib/Target/AVR/AVRISelLowering.cpp
@@ -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);
OpenPOWER on IntegriCloud