aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMenooker <myjisgreat@live.cn>2025-07-09 12:07:35 +0800
committerGitHub <noreply@github.com>2025-07-09 12:07:35 +0800
commit18b409558a9936cc7367f9cc59eaae4867a31e2b (patch)
tree1d0e47ed16ea2c94a373288a32d222d629941516 /flang/lib/Frontend/CompilerInvocation.cpp
parentcc95e4039b75c931f928464dd248e0d3712d7643 (diff)
downloadllvm-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