[llvm] r302779 - Remove now useless trailing nullptr in StructType::get
Serge Guelton via llvm-commits
llvm-commits at lists.llvm.org
Thu May 11 01:46:03 PDT 2017
Author: serge_sans_paille
Date: Thu May 11 03:46:02 2017
New Revision: 302779
URL: http://llvm.org/viewvc/llvm-project?rev=302779&view=rev
Log:
Remove now useless trailing nullptr in StructType::get
Modified:
llvm/trunk/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp
Modified: llvm/trunk/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp?rev=302779&r1=302778&r2=302779&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp (original)
+++ llvm/trunk/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp Thu May 11 03:46:02 2017
@@ -126,7 +126,7 @@ bool SIAnnotateControlFlow::doInitializa
Void = Type::getVoidTy(Context);
Boolean = Type::getInt1Ty(Context);
Int64 = Type::getInt64Ty(Context);
- ReturnStruct = StructType::get(Boolean, Int64, (Type *)nullptr);
+ ReturnStruct = StructType::get(Boolean, Int64);
BoolTrue = ConstantInt::getTrue(Context);
BoolFalse = ConstantInt::getFalse(Context);
More information about the llvm-commits
mailing list