[PATCH] D33119: [AVR] Migrate to new StructType::get owing to Supress all uses of LLVM_END_WITH_NULL

Leslie Zhai via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 12 02:21:30 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL302885: [AVR] Migrate to new StructType::get owing to Supress all uses of… (authored by xiangzhai).

Changed prior to commit:
  https://reviews.llvm.org/D33119?vs=98736&id=98742#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D33119

Files:
  llvm/trunk/lib/Target/AVR/AVRISelLowering.cpp


Index: llvm/trunk/lib/Target/AVR/AVRISelLowering.cpp
===================================================================
--- llvm/trunk/lib/Target/AVR/AVRISelLowering.cpp
+++ llvm/trunk/lib/Target/AVR/AVRISelLowering.cpp
@@ -361,7 +361,7 @@
   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);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33119.98742.patch
Type: text/x-patch
Size: 557 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170512/fa4bcbea/attachment.bin>


More information about the llvm-commits mailing list