Alejandro =?utf-8?q?Álvarez_Ayllón?=,
Alejandro =?utf-8?q?Álvarez_Ayllón?=,
Alejandro =?utf-8?q?Álvarez_Ayllón?=,
Alejandro =?utf-8?q?Álvarez_Ayllón?=,
Alejandro =?utf-8?q?Álvarez_Ayllón?=,
Alejandro =?utf-8?q?Álvarez_Ayllón?=,Yutong Zhu
<[email protected]>,
Juan Manuel Martinez =?utf-8?q?Caamaño?=,
=?utf-8?q?Michał_Górny?= <[email protected]>,LLVM GN Syncbot
<[email protected]>,Rahul Joshi <[email protected]>,David Sherwood
<[email protected]>,Nick Sarnie <[email protected]>,Joseph Huber
<[email protected]>,Vigneshwar Jayakumar <[email protected]>,Timm
Baeder <[email protected]>,Hsiangkai Wang <[email protected]>,Keith
Smiley <[email protected]>,Ivan Kosarev <[email protected]>,
=?utf-8?q?Michał_Górny?= <[email protected]>,Stanislav Mekhanoshin
<[email protected]>,sitrin <[email protected]>,Florian
Mayer <[email protected]>,Kazu Hirata <[email protected]>,Kazu Hirata
<[email protected]>,Kazu Hirata <[email protected]>,Kazu Hirata <[email protected]>
=?utf-8?q?,?=Kazu Hirata <[email protected]>,Kazu Hirata
<[email protected]>,Andreas
Jonson <[email protected]>,Sharjeel Khan <[email protected]>,Razvan
Lupusoru <[email protected]>,Ilia Kuklin
<[email protected]>,Aaron
Siddhartha Mondal <[email protected]>,"S. Bharadwaj Yadavalli"
<[email protected]>,Nick Desaulniers
<[email protected]>,Wael Yehia <[email protected]>,Balazs Benics
<[email protected]>,Aaron Siddhartha Mondal <[email protected]>,Jonas
Devlieghere <[email protected]>,Ryosuke Niwa <[email protected]>,Vigneshwar
Jayakumar <[email protected]>,Vigneshwar Jayakumar
<[email protected]>,Elvin Wang <[email protected]>,Renaud
Kauffmann <[email protected]>,Zahira Ammarguellat
<[email protected]>,Tai Ly <[email protected]>,Ryosuke Niwa
<[email protected]>,Mark de Wever <[email protected]>,quic-areg
<[email protected]>,Valentin Clement =?utf-8?b?KOODkOODrOODsw=?=,Nick
Sarnie <[email protected]>,Kevin Gleason <[email protected]>,Kazu
Hirata <[email protected]>,Philip Reames <[email protected]>,Joseph Huber
<[email protected]>,David Green <[email protected]>,Florian Mayer
<[email protected]>,Alireza Torabian <[email protected]>,Philip
Reames <[email protected]>,Florian Mayer <[email protected]>,
Andrzej =?utf-8?q?Warzyński?= <[email protected]>,Alexey Bataev
<[email protected]>,Florian Mayer <[email protected]>,vporpo
<[email protected]>,Shoaib Meenai <[email protected]>,Nick Desaulniers
<[email protected]>,Nathan Ridge <[email protected]>,lntue
<[email protected]>,Brox Chen <[email protected]>,Michael Jones
<[email protected]>,Philip Reames <[email protected]>,Lang Hames
<[email protected]>,Shoaib Meenai <[email protected]>,Daniel Hoekwater
<[email protected]>,lntue <[email protected]>,Florian Mayer
<[email protected]>,Philip Reames <[email protected]>,Justin Fargnoli
<[email protected]>,Philip Reames <[email protected]>,Arda Unal
<[email protected]>,Kazu Hirata <[email protected]>,Kazu
Hirata <[email protected]>,Michael Jones <[email protected]>,Krzysztof
Drewniak <[email protected]>,Christopher Ferris
<[email protected]>,donald chen
<[email protected]>,lonely
eagle <[email protected]>,c8ef <[email protected]>,Thurston Dang
<[email protected]>,Jie Fu <[email protected]>,"Miguel A. Arroyo"
<[email protected]>,Luke Lau <[email protected]>,Hongtao Yu
<[email protected]>,LLVM GN Syncbot <[email protected]>,Jim Lin
<[email protected]>,Abhishek Kaushik <[email protected]>,Kazu
Hirata <[email protected]>,Ethan Luis McDonough
<[email protected]>,Vikram
Hegde <[email protected]>,Sam Elliott
<[email protected]>,Haohai Wen <[email protected]>,Ethan Luis
McDonough <[email protected]>,Matt Arsenault
<[email protected]>,Vitaly Buka <[email protected]>,Owen Pan
<[email protected]>,Craig Topper <[email protected]>,Amit Kumar
Pandey <[email protected]>,Adam Siemieniuk
<[email protected]>,Alex MacLean <[email protected]>,Nikita Popov
<[email protected]>,Louis Dionne <[email protected]>,jeanPerier
<[email protected]>,Fraser Cormack <[email protected]>,Timm Baeder
<[email protected]>,Simon Pilgrim <[email protected]>,Nikita Popov
<[email protected]>,Yeaseen <[email protected]>,Nikita Popov
<[email protected]>,Pavel Labath <[email protected]>,
Alejandro =?utf-8?q?Álvarez_Ayllón?Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/[email protected]>
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code.
:warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff 82bd148a3f25439d7f52a32422dc1bcd2da03803
4892b2598adf37b848e321c6ed808e68b7c8fd97 --extensions cpp,h,c --
clang/test/CXX/stmt.stmt/stmt.select/stmt.switch/p4.cpp
clang/test/Modules/malformed-constraint-template-non-type-parm-decl.cpp
libc/src/math/generic/atan2f_float.h libclc/clc/include/clc/clc_convert.h
libclc/clc/include/clc/float/definitions.h
llvm/lib/Target/AMDGPU/GCNRewritePartialRegUses.h
llvm/lib/Target/RISCV/RISCVVMV0Elimination.cpp bolt/tools/driver/llvm-bolt.cpp
clang/include/clang/AST/ASTContext.h clang/include/clang/Basic/LangOptions.h
clang/lib/AST/ASTContext.cpp clang/lib/AST/ByteCode/Interp.cpp
clang/lib/AST/ByteCode/InterpBuiltin.cpp clang/lib/AST/DeclTemplate.cpp
clang/lib/AST/ExprConstant.cpp clang/lib/CodeGen/CGHLSLRuntime.cpp
clang/lib/CodeGen/CGOpenMPRuntime.cpp clang/lib/Driver/ToolChains/AMDGPU.cpp
clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
clang/lib/Driver/ToolChains/Clang.cpp clang/lib/Driver/ToolChains/ROCm.h
clang/lib/Sema/HeuristicResolver.cpp clang/lib/Sema/JumpDiagnostics.cpp
clang/lib/Sema/SemaDecl.cpp clang/lib/Sema/SemaOpenMP.cpp
clang/lib/Serialization/ASTWriterDecl.cpp
clang/lib/StaticAnalyzer/Checkers/WebKit/ASTUtils.cpp
clang/test/AST/ByteCode/cxx26.cpp clang/test/AST/ByteCode/new-delete.cpp
clang/test/Analysis/Checkers/WebKit/call-args-counted-const-member.cpp
clang/test/Analysis/Checkers/WebKit/mock-types.h
clang/test/Driver/amdgpu-openmp-sanitize-options.c
clang/test/Driver/linker-wrapper.c clang/test/Driver/sycl-offload-jit.cpp
clang/test/Tooling/clang-linker-wrapper-spirv-elf.cpp
clang/tools/clang-installapi/Options.cpp
clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
clang/unittests/Format/TokenAnnotatorTest.cpp
clang/unittests/Sema/HeuristicResolverTest.cpp
compiler-rt/lib/profile/InstrProfiling.h
compiler-rt/lib/profile/InstrProfilingFile.c
compiler-rt/lib/scudo/standalone/chunk.h
compiler-rt/lib/scudo/standalone/report.cpp
compiler-rt/lib/scudo/standalone/report.h
compiler-rt/lib/scudo/standalone/tests/report_test.cpp
flang/lib/Lower/OpenACC.cpp flang/lib/Optimizer/Analysis/AliasAnalysis.cpp
flang/lib/Optimizer/CodeGen/CodeGen.cpp flang/lib/Optimizer/Dialect/FIROps.cpp
libc/include/llvm-libc-macros/endian-macros.h
libc/include/llvm-libc-types/struct_tm.h
libc/src/__support/FPUtil/double_double.h
libc/src/__support/macros/optimization.h libc/src/math/generic/atan2f.cpp
libc/src/math/generic/pow.cpp
libc/src/math/generic/range_reduction_double_common.h
libc/src/math/generic/range_reduction_double_fma.h
libc/src/math/generic/range_reduction_double_nofma.h libc/src/time/mktime.cpp
libc/src/time/time_constants.h libc/src/time/time_utils.cpp
libc/src/time/time_utils.h libc/test/src/stdbit/stdc_bit_ceil_uc_test.cpp
libc/test/src/stdbit/stdc_bit_ceil_us_test.cpp
libc/test/src/stdbit/stdc_first_leading_one_uc_test.cpp
libc/test/src/stdbit/stdc_first_leading_one_us_test.cpp
libc/test/src/stdbit/stdc_first_leading_zero_uc_test.cpp
libc/test/src/stdbit/stdc_first_leading_zero_us_test.cpp
libc/test/src/stdbit/stdc_first_trailing_one_uc_test.cpp
libc/test/src/stdbit/stdc_first_trailing_one_us_test.cpp
libc/test/src/stdbit/stdc_first_trailing_zero_uc_test.cpp
libc/test/src/stdbit/stdc_first_trailing_zero_us_test.cpp
libc/test/src/stdbit/stdc_has_single_bit_uc_test.cpp
libc/test/src/stdbit/stdc_has_single_bit_us_test.cpp
libc/test/src/stdbit/stdc_leading_ones_uc_test.cpp
libc/test/src/stdbit/stdc_leading_ones_us_test.cpp
libc/test/src/stdbit/stdc_leading_zeros_uc_test.cpp
libc/test/src/stdbit/stdc_leading_zeros_us_test.cpp
libc/test/src/stdbit/stdc_trailing_ones_uc_test.cpp
libc/test/src/stdbit/stdc_trailing_ones_us_test.cpp
libc/test/src/stdbit/stdc_trailing_zeros_uc_test.cpp
libc/test/src/stdbit/stdc_trailing_zeros_us_test.cpp
libclc/generic/include/clc/convert.h
libcxx/test/std/algorithms/alg.nonmodifying/alg.find/find.pass.cpp
libcxx/test/std/algorithms/alg.nonmodifying/alg.find/ranges.find.pass.cpp
libcxx/test/std/algorithms/alg.nonmodifying/alg.foreach/for_each.pass.cpp
lldb/include/lldb/Core/UserSettingsController.h lldb/source/API/SBDebugger.cpp
lldb/source/Commands/CommandObjectDisassemble.cpp
lldb/source/Commands/CommandObjectDisassemble.h lldb/source/Core/Telemetry.cpp
lldb/source/Core/UserSettingsController.cpp
lldb/source/Symbol/SymbolContext.cpp llvm/include/llvm/Analysis/DDG.h
llvm/include/llvm/Analysis/DependenceAnalysis.h
llvm/include/llvm/CodeGen/SelectionDAGNodes.h
llvm/include/llvm/CodeGen/TargetFrameLowering.h
llvm/include/llvm/ExecutionEngine/Orc/Shared/OrcRTBridge.h
llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/UnwindInfoManager.h
llvm/include/llvm/ExecutionEngine/Orc/UnwindInfoRegistrationPlugin.h
llvm/include/llvm/MC/MCContext.h llvm/include/llvm/MC/MCELFStreamer.h
llvm/include/llvm/MC/MCParser/MCTargetAsmParser.h
llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Scheduler.h
llvm/lib/Analysis/DDG.cpp llvm/lib/Analysis/DependenceAnalysis.cpp
llvm/lib/Analysis/DependenceGraphBuilder.cpp
llvm/lib/Analysis/LoopCacheAnalysis.cpp llvm/lib/Analysis/ValueTracking.cpp
llvm/lib/CodeGen/CFIFixup.cpp llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/lib/CodeGen/TargetFrameLoweringImpl.cpp
llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
llvm/lib/ExecutionEngine/Orc/ExecutorProcessControl.cpp
llvm/lib/ExecutionEngine/Orc/LLJIT.cpp
llvm/lib/ExecutionEngine/Orc/Shared/OrcRTBridge.cpp
llvm/lib/ExecutionEngine/Orc/TargetProcess/UnwindInfoManager.cpp
llvm/lib/ExecutionEngine/Orc/UnwindInfoRegistrationPlugin.cpp
llvm/lib/IR/DebugInfo.cpp llvm/lib/MC/MCContext.cpp
llvm/lib/MC/MCObjectFileInfo.cpp llvm/lib/MC/MCParser/WasmAsmParser.cpp
llvm/lib/Passes/PassBuilderPipelines.cpp
llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
llvm/lib/Target/AArch64/AArch64FrameLowering.h
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
llvm/lib/Target/AMDGPU/AMDGPU.h llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
llvm/lib/Target/AMDGPU/AMDGPULowerBufferFatPointers.cpp
llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
llvm/lib/Target/AMDGPU/GCNRewritePartialRegUses.cpp
llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
llvm/lib/Target/ARM/ARMISelLowering.cpp
llvm/lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp
llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
llvm/lib/Target/NVPTX/NVPTXAsmPrinter.h
llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
llvm/lib/Target/NVPTX/NVPTXISelLowering.h
llvm/lib/Target/NVPTX/NVPTXRegisterInfo.cpp
llvm/lib/Target/NVPTX/NVPTXRegisterInfo.h llvm/lib/Target/RISCV/RISCV.h
llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
llvm/lib/Target/RISCV/RISCVVectorPeephole.cpp
llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
llvm/lib/Transforms/Scalar/LoopFuse.cpp
llvm/lib/Transforms/Scalar/LoopInterchange.cpp
llvm/lib/Transforms/Utils/CodeMoverUtils.cpp
llvm/lib/Transforms/Utils/LoopUnrollAndJam.cpp
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
llvm/lib/Transforms/Vectorize/VPlan.h
llvm/tools/llvm-jitlink/llvm-jitlink-executor/llvm-jitlink-executor.cpp
llvm/tools/llvm-jitlink/llvm-jitlink.cpp
llvm/unittests/Transforms/Vectorize/SandboxVectorizer/SchedulerTest.cpp
llvm/utils/TableGen/Common/CodeGenSchedule.h
llvm/utils/TableGen/InstrInfoEmitter.cpp mlir/include/mlir/Dialect/DLTI/DLTI.h
mlir/lib/Analysis/DataFlow/IntegerRangeAnalysis.cpp
mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
mlir/lib/Dialect/DLTI/DLTI.cpp
mlir/lib/Dialect/Tosa/IR/TosaCanonicalizations.cpp
mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
mlir/lib/Dialect/Tosa/Transforms/TosaReduceTransposes.cpp
mlir/lib/Dialect/Vector/IR/VectorOps.cpp
mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
mlir/tools/mlir-tblgen/OpDocGen.cpp mlir/tools/mlir-tblgen/OpInterfacesGen.cpp
mlir/tools/mlir-tblgen/PassDocGen.cpp offload/include/Shared/Environment.h
offload/plugins-nextgen/common/include/GlobalHandler.h
offload/plugins-nextgen/common/include/RPC.h
offload/plugins-nextgen/common/src/GlobalHandler.cpp
offload/plugins-nextgen/common/src/PluginInterface.cpp
offload/plugins-nextgen/common/src/RPC.cpp offload/test/offloading/pgo1.c
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/Sema/JumpDiagnostics.cpp
b/clang/lib/Sema/JumpDiagnostics.cpp
index edcfffa2b3..01113e6e4f 100644
--- a/clang/lib/Sema/JumpDiagnostics.cpp
+++ b/clang/lib/Sema/JumpDiagnostics.cpp
@@ -640,8 +640,8 @@ void JumpScopeChecker::BuildScopeInformation(Stmt *S,
continue;
}
- // Cases, labels, attributes, and defaults aren't "scope parents". It's
also
- // important to handle these iteratively instead of recursively in
+ // Cases, labels, attributes, and defaults aren't "scope parents". It's
+ // also important to handle these iteratively instead of recursively in
// order to avoid blowing out the stack.
while (true) {
Stmt *Next;
diff --git a/llvm/include/llvm/Analysis/DDG.h b/llvm/include/llvm/Analysis/DDG.h
index dfd84a9add..c08b6b7eab 100644
--- a/llvm/include/llvm/Analysis/DDG.h
+++ b/llvm/include/llvm/Analysis/DDG.h
@@ -452,8 +452,7 @@ bool DependenceGraphInfo<NodeType>::getDependencies(
for (auto *SrcI : SrcIList)
for (auto *DstI : DstIList)
- if (auto Dep =
- const_cast<DependenceInfo *>(&DI)->depends(SrcI, DstI))
+ if (auto Dep = const_cast<DependenceInfo *>(&DI)->depends(SrcI, DstI))
Deps.push_back(std::move(Dep));
return !Deps.empty();
diff --git a/llvm/include/llvm/Analysis/DependenceAnalysis.h
b/llvm/include/llvm/Analysis/DependenceAnalysis.h
index 426ac757b4..5e1b3991c8 100644
--- a/llvm/include/llvm/Analysis/DependenceAnalysis.h
+++ b/llvm/include/llvm/Analysis/DependenceAnalysis.h
@@ -303,8 +303,7 @@ namespace llvm {
/// depends - Tests for a dependence between the Src and Dst instructions.
/// Returns NULL if no dependence; otherwise, returns a Dependence (or a
/// FullDependence) with as much information as can be gleaned.
- std::unique_ptr<Dependence> depends(Instruction *Src,
- Instruction *Dst);
+ std::unique_ptr<Dependence> depends(Instruction *Src, Instruction *Dst);
/// getSplitIteration - Give a dependence that's splittable at some
/// particular level, return the iteration that should be used to split
diff --git a/llvm/lib/Analysis/DependenceAnalysis.cpp
b/llvm/lib/Analysis/DependenceAnalysis.cpp
index cd252c62ba..a62f996f82 100644
--- a/llvm/lib/Analysis/DependenceAnalysis.cpp
+++ b/llvm/lib/Analysis/DependenceAnalysis.cpp
@@ -199,8 +199,7 @@ static void dumpExampleDependence(raw_ostream &OS,
DependenceInfo *DA,
OS << "!\n";
}
}
- }
- else
+ } else
OS << "none!\n";
}
}
@@ -3588,8 +3587,8 @@ bool DependenceInfo::invalidate(Function &F, const
PreservedAnalyses &PA,
//
// Care is required to keep the routine below, getSplitIteration(),
// up to date with respect to this routine.
-std::unique_ptr<Dependence>
-DependenceInfo::depends(Instruction *Src, Instruction *Dst) {
+std::unique_ptr<Dependence> DependenceInfo::depends(Instruction *Src,
+ Instruction *Dst) {
bool PossiblyLoopIndependent = true;
if (Src == Dst)
PossiblyLoopIndependent = false;
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp
b/llvm/lib/Target/ARM/ARMISelLowering.cpp
index 5c4fe9d922..d61fc88a9c 100644
--- a/llvm/lib/Target/ARM/ARMISelLowering.cpp
+++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp
@@ -8478,12 +8478,9 @@ bool ARMTargetLowering::isShuffleMaskLegal(ArrayRef<int>
M, EVT VT) const {
unsigned Imm, WhichResult;
unsigned EltSize = VT.getScalarSizeInBits();
- if (EltSize >= 32 ||
- ShuffleVectorSDNode::isSplatMask(M) ||
- ShuffleVectorInst::isIdentityMask(M, M.size()) ||
- isVREVMask(M, VT, 64) ||
- isVREVMask(M, VT, 32) ||
- isVREVMask(M, VT, 16))
+ if (EltSize >= 32 || ShuffleVectorSDNode::isSplatMask(M) ||
+ ShuffleVectorInst::isIdentityMask(M, M.size()) || isVREVMask(M, VT, 64)
||
+ isVREVMask(M, VT, 32) || isVREVMask(M, VT, 16))
return true;
else if (Subtarget->hasNEON() &&
(isVEXTMask(M, VT, ReverseVEXT, Imm) ||
diff --git a/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
b/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
index 7ca8482149..a144d0cee2 100644
--- a/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+++ b/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
@@ -5352,8 +5352,7 @@ static bool isLocalRepeatingShuffle(ArrayRef<int> Mask,
int Span) {
/// Is this mask only using elements from the first span of the input?
static bool isLowSourceShuffle(ArrayRef<int> Mask, int Span) {
- return all_of(Mask,
- [&](const auto &Idx) { return Idx == -1 || Idx < Span; });
+ return all_of(Mask, [&](const auto &Idx) { return Idx == -1 || Idx < Span;
});
}
/// Try to widen element type to get a new mask value for a better permutation
``````````
</details>
https://github.com/llvm/llvm-project/pull/121768
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits