[Mlir-commits] [mlir] Fix loop_annotation name in unit tests (PR #172934)
Fei Peng
llvmlistbot at llvm.org
Fri Dec 19 00:17:33 PST 2025
fiigii wrote:
> What problem does this solve?
This is a confusing test. I was trying to control loop unrolling at the MLIR level and was confused by the distinction between `llvm.loop_annotation` and `loop_annotation`. Finally, I realized that mlir-translate does not recognize `llvm.loop_annotation` and won't lower it to LLVM IR. So, this PR fixes the incorrect usage of loop annotations.
Additionally, I hope MLIR clarifies it in the language reference.
https://github.com/llvm/llvm-project/pull/172934
More information about the Mlir-commits
mailing list