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
 <115899167+yutongz...@users.noreply.github.com>,
Juan Manuel Martinez =?utf-8?q?Caamaño?=,
=?utf-8?q?Michał_Górny?= <mgo...@gentoo.org>,LLVM GN Syncbot
 <llvmgnsync...@gmail.com>,Rahul Joshi <rjo...@nvidia.com>,David Sherwood
 <david.sherw...@arm.com>,Nick Sarnie <nick.sar...@intel.com>,Joseph Huber
 <hube...@outlook.com>,Vigneshwar Jayakumar <vigneshwar.jayaku...@amd.com>,Timm
 Baeder <tbae...@redhat.com>,Hsiangkai Wang <hsiangkai.w...@arm.com>,Keith
 Smiley <keithbsmi...@gmail.com>,Ivan Kosarev <ivan.kosa...@amd.com>,
=?utf-8?q?Michał_Górny?= <mgo...@gentoo.org>,Stanislav Mekhanoshin
 <rampi...@users.noreply.github.com>,sitrin <michael.s.ad...@gmail.com>,Florian
 Mayer <fma...@google.com>,Kazu Hirata <k...@google.com>,Kazu Hirata
 <k...@google.com>,Kazu Hirata <k...@google.com>,Kazu Hirata <k...@google.com>
 =?utf-8?q?,?=Kazu Hirata <k...@google.com>,Kazu Hirata 
<k...@google.com>,Andreas
 Jonson <andjo...@hotmail.com>,Sharjeel Khan <sharjeelk...@google.com>,Razvan
 Lupusoru <razvan.lupus...@gmail.com>,Ilia Kuklin 
<ikuk...@accesssoftek.com>,Aaron
 Siddhartha Mondal <aa...@tracemachina.com>,"S. Bharadwaj Yadavalli"
 <bharadwaj.yadava...@microsoft.com>,Nick Desaulniers
 <ndesaulni...@google.com>,Wael Yehia <wye...@ca.ibm.com>,Balazs Benics
 <benicsbal...@gmail.com>,Aaron Siddhartha Mondal <aa...@tracemachina.com>,Jonas
 Devlieghere <jo...@devlieghere.com>,Ryosuke Niwa <rn...@webkit.org>,Vigneshwar
 Jayakumar <vigneshwar.jayaku...@amd.com>,Vigneshwar Jayakumar
 <vigneshwar.jayaku...@amd.com>,Elvin Wang <elvin.w...@intel.com>,Renaud
 Kauffmann <rkauffm...@nvidia.com>,Zahira Ammarguellat
 <zahira.ammarguel...@intel.com>,Tai Ly <tai...@arm.com>,Ryosuke Niwa
 <rn...@webkit.org>,Mark de Wever <ko...@xs4all.nl>,quic-areg
 <are...@quicinc.com>,Valentin Clement =?utf-8?b?KOODkOODrOODsw=?=,Nick
 Sarnie <nick.sar...@intel.com>,Kevin Gleason <gleas...@google.com>,Kazu
 Hirata <k...@google.com>,Philip Reames <prea...@rivosinc.com>,Joseph Huber
 <hube...@outlook.com>,David Green <david.gr...@arm.com>,Florian Mayer
 <fma...@google.com>,Alireza Torabian <torabian.alir...@gmail.com>,Philip
 Reames <prea...@rivosinc.com>,Florian Mayer <fma...@google.com>,
Andrzej =?utf-8?q?Warzyński?= <andrzej.warzyn...@arm.com>,Alexey Bataev
 <a.bat...@outlook.com>,Florian Mayer <fma...@google.com>,vporpo
 <vporpo...@google.com>,Shoaib Meenai <smee...@fb.com>,Nick Desaulniers
 <ndesaulni...@google.com>,Nathan Ridge <zeratul...@hotmail.com>,lntue
 <ln...@google.com>,Brox Chen <guoch...@amd.com>,Michael Jones
 <michae...@google.com>,Philip Reames <prea...@rivosinc.com>,Lang Hames
 <lha...@gmail.com>,Shoaib Meenai <smee...@fb.com>,Daniel Hoekwater
 <hoekwa...@google.com>,lntue <ln...@google.com>,Florian Mayer
 <fma...@google.com>,Philip Reames <prea...@rivosinc.com>,Justin Fargnoli
 <jfargn...@nvidia.com>,Philip Reames <prea...@rivosinc.com>,Arda Unal
 <3157490+ardau...@users.noreply.github.com>,Kazu Hirata <k...@google.com>,Kazu
 Hirata <k...@google.com>,Michael Jones <michae...@google.com>,Krzysztof
 Drewniak <krzysztof.drewn...@amd.com>,Christopher Ferris
 <cferris1...@users.noreply.github.com>,donald chen 
<chenxunyu1...@gmail.com>,lonely
 eagle <2020382...@qq.com>,c8ef <c...@outlook.com>,Thurston Dang
 <thurs...@google.com>,Jie Fu <ji...@tencent.com>,"Miguel A. Arroyo"
 <miguel.arr...@rockstargames.com>,Luke Lau <l...@igalia.com>,Hongtao Yu
 <h...@meta.com>,LLVM GN Syncbot <llvmgnsync...@gmail.com>,Jim Lin
 <j...@andestech.com>,Abhishek Kaushik <abhishek.kaus...@intel.com>,Kazu
 Hirata <k...@google.com>,Ethan Luis McDonough 
<ethanluismcdono...@gmail.com>,Vikram
 Hegde <115221833+vikra...@users.noreply.github.com>,Sam Elliott
 <quic_aelli...@quicinc.com>,Haohai Wen <haohai....@intel.com>,Ethan Luis
 McDonough <ethanluismcdono...@gmail.com>,Matt Arsenault
 <matthew.arsena...@amd.com>,Vitaly Buka <vitalyb...@google.com>,Owen Pan
 <owenpi...@gmail.com>,Craig Topper <craig.top...@sifive.com>,Amit Kumar
 Pandey <137622562+ampandey-1...@users.noreply.github.com>,Adam Siemieniuk
 <adam.siemien...@intel.com>,Alex MacLean <amacl...@nvidia.com>,Nikita Popov
 <npo...@redhat.com>,Louis Dionne <ldionn...@gmail.com>,jeanPerier
 <jper...@nvidia.com>,Fraser Cormack <fra...@codeplay.com>,Timm Baeder
 <tbae...@redhat.com>,Simon Pilgrim <llvm-...@redking.me.uk>,Nikita Popov
 <npo...@redhat.com>,Yeaseen <yeaseen.arafa...@gmail.com>,Nikita Popov
 <npo...@redhat.com>,Pavel Labath <pa...@labath.sk>,
Alejandro =?utf-8?q?Álvarez_Ayllón?Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/121...@github.com>


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
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to