projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4081bb
)
[AVR] Migrate to new StructType::get owing to Supress all uses of LLVM_END_WITH_NULL
author
Leslie Zhai
<lesliezhai@llvm.org.cn>
Fri, 12 May 2017 09:08:03 +0000
(09:08 +0000)
committer
Leslie Zhai
<lesliezhai@llvm.org.cn>
Fri, 12 May 2017 09:08:03 +0000
(09:08 +0000)
Reviewers: dylanmckay, jroelofs, RKSimon, serge-sans-paille
Reviewed By: serge-sans-paille
Differential Revision: https://reviews.llvm.org/D33119
llvm-svn: 302885
llvm/lib/Target/AVR/AVRISelLowering.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/AVR/AVRISelLowering.cpp
b/llvm/lib/Target/AVR/AVRISelLowering.cpp
index
075d30a
..
0d8c44e
100644
(file)
--- 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);