forked from OSchip/llvm-project
Fix the clang -Werror build (-Wbraced-scalar-init)
llvm-svn: 240172
This commit is contained in:
parent
c62e043355
commit
de867e1ee9
|
@ -70,7 +70,7 @@ void RuntimeDebugBuilder::createGPUVAPrinter(PollyIRBuilder &Builder,
|
|||
|
||||
int Offset = 0;
|
||||
for (auto Val : Values) {
|
||||
auto Ptr = Builder.CreateGEP(DataPtr, {Builder.getInt64(Offset)});
|
||||
auto Ptr = Builder.CreateGEP(DataPtr, Builder.getInt64(Offset));
|
||||
Type *Ty = Val->getType();
|
||||
|
||||
if (Ty->isFloatingPointTy()) {
|
||||
|
|
Loading…
Reference in New Issue