llvm.org GIT mirror llvm / b999767
InstCombineCompares.cpp: Fix a warning. [-Wbraced-scalar-init] git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257167 91177308-0d34-0410-b5e6-96231b3b80d8 NAKAMURA Takumi 4 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
820820
821821 Value *GEP =
822822 Builder.CreateInBoundsGEP(Start->getType()->getPointerElementType(),
823 NewBase, {NewInsts[Val]},
823 NewBase, makeArrayRef(NewInsts[Val]),
824824 Val->getName() + ".ptr");
825825
826826 if (!Val->getType()->isPointerTy()) {