llvm-project
18b40955 - [mlir] [scf-to-cf] attach the loop annotation to latch block (#147462)

Commit
160 days ago
[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.
Author
Parents
Loading