diff options
author | Menooker <myjisgreat@live.cn> | 2025-07-09 12:07:35 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-09 12:07:35 +0800 |
commit | 18b409558a9936cc7367f9cc59eaae4867a31e2b (patch) | |
tree | 1d0e47ed16ea2c94a373288a32d222d629941516 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | cc95e4039b75c931f928464dd248e0d3712d7643 (diff) | |
download | llvm-18b409558a9936cc7367f9cc59eaae4867a31e2b.zip llvm-18b409558a9936cc7367f9cc59eaae4867a31e2b.tar.gz llvm-18b409558a9936cc7367f9cc59eaae4867a31e2b.tar.bz2 |
[mlir] [scf-to-cf] attach the loop annotation to latch block (#147462)
As [required by LLVM](https://llvm.org/docs/LangRef.html#llvm-loop), the
loop annotation (loop metadata) should be attached on the ["latch"
block](https://llvm.org/docs/LoopTerminology.html). Otherwise, the
annotation might be ignored by LLVM. This PR fixes this issue.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions