[Mlir-commits] [clang] [llvm] [mlir] Enforce single-operand form for llvm.loop.distribute metadata (PR #201077)

Michael Kruse llvmlistbot at llvm.org
Thu Jul 2 07:35:16 PDT 2026


https://github.com/Meinersbur commented:

[critical] With this change, there will be an hard error with metadata with the old format. We will need the AutoUpgrade otherwise older .bc files will be rejected, violating the IR backwards compatibility guarantee

> The current LLVM version supports loading any bitcode since version 3.0.

> Non-debug metadata is defined to be safe to drop, so a valid way to upgrade it is to drop it. That is not very user friendly and a bit more effort is expected, but no promises are made.

https://llvm.org/docs/DeveloperPolicy.html#ir-backwards-compatibility

https://github.com/llvm/llvm-project/pull/201077


More information about the Mlir-commits mailing list