[all-commits] [llvm/llvm-project] 9b5c05: Enforce single-operand form for llvm.loop.distribu...

Madhur Amilkanthwar via All-commits all-commits at lists.llvm.org
Tue Jul 21 00:25:31 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9b5c0571afd6b2c1918db5585a05b9756ea19c28
      https://github.com/llvm/llvm-project/commit/9b5c0571afd6b2c1918db5585a05b9756ea19c28
  Author: Madhur Amilkanthwar <madhura at nvidia.com>
  Date:   2026-07-21 (Tue, 21 Jul 2026)

  Changed paths:
    M clang/lib/CodeGen/CGLoopInfo.cpp
    M clang/test/CodeGenCXX/pragma-followup_inner.cpp
    M clang/test/CodeGenCXX/pragma-followup_outer.cpp
    M clang/test/CodeGenCXX/pragma-loop-distribute.cpp
    M clang/test/CodeGenCXX/pragma-loop.cpp
    M llvm/docs/LangRef.md
    M llvm/include/llvm/IR/AutoUpgrade.h
    M llvm/lib/Analysis/LoopAccessAnalysis.cpp
    M llvm/lib/Bitcode/Reader/MetadataLoader.cpp
    M llvm/lib/IR/AutoUpgrade.cpp
    M llvm/lib/IR/Verifier.cpp
    M llvm/lib/Transforms/Scalar/LoopDistribute.cpp
    M llvm/lib/Transforms/Utils/LoopConstrainer.cpp
    M llvm/lib/Transforms/Utils/LoopUtils.cpp
    M llvm/test/Analysis/LoopAccessAnalysis/pr64637.ll
    A llvm/test/Bitcode/upgrade-loop-distribute-enable.ll
    A llvm/test/Bitcode/upgrade-loop-distribute-enable.ll.bc
    M llvm/test/Other/optimization-remarks-lazy-bfi.ll
    M llvm/test/Transforms/IRCE/add-metadata-pre-post-loops.ll
    M llvm/test/Transforms/IRCE/correct-loop-info.ll
    M llvm/test/Transforms/IRCE/loop-guarded-bounds.ll
    M llvm/test/Transforms/IRCE/pre_post_loops.ll
    M llvm/test/Transforms/IRCE/range_intersect_miscompile.ll
    M llvm/test/Transforms/IRCE/unsigned_comparisons_ugt.ll
    M llvm/test/Transforms/IRCE/unsigned_comparisons_ult.ll
    M llvm/test/Transforms/Inline/dilocation-loop-metadata-update.ll
    M llvm/test/Transforms/LoopDistribute/basic-with-memchecks.ll
    M llvm/test/Transforms/LoopDistribute/diagnostics-with-hotness.ll
    M llvm/test/Transforms/LoopDistribute/diagnostics.ll
    M llvm/test/Transforms/LoopDistribute/disable_nonforced_enable.ll
    M llvm/test/Transforms/LoopDistribute/early-exit.ll
    M llvm/test/Transforms/LoopDistribute/followup.ll
    M llvm/test/Transforms/LoopDistribute/metadata.ll
    M llvm/test/Transforms/LoopSimplify/preserve-llvm-loop-metadata.ll
    M llvm/test/Transforms/SimplifyCFG/preserve-llvm-loop-metadata.ll
    A llvm/test/Verifier/llvm.loop.distribute.ll
    M llvm/unittests/Analysis/LoopInfoTest.cpp
    M mlir/lib/Target/LLVMIR/LoopAnnotationImporter.cpp
    M mlir/lib/Target/LLVMIR/LoopAnnotationTranslation.cpp
    M mlir/test/Target/LLVMIR/Import/metadata-loop.ll
    M mlir/test/Target/LLVMIR/loop-metadata.mlir

  Log Message:
  -----------
  Enforce single-operand form for llvm.loop.distribute metadata (#201077)

This patch implements Phase 1 of the
[RFC](https://discourse.llvm.org/t/rfc-enforce-single-operand-format-for-all-enable-metadata-nodes/90571)
"Enforce Single-Operand Format for All .enable Metadata Nodes". The
two-operand boolean form !{!"llvm.loop.distribute.enable", i1 0/1} is
replaced by a single-operand enable/disable pair:

  !{!"llvm.loop.distribute.enable"}    ; force distribution
  !{!"llvm.loop.distribute.disable"}   ; suppress distribution



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list