diff options
author | Fotis Kounelis <fotisss17@gmail.com> | 2024-06-07 10:46:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-07 11:46:01 +0200 |
commit | 192cd685129d6f42e8b191e12bddf74ade48c270 (patch) | |
tree | 0ef9a6207688ca03430842ab9b7ac4731f9d326e /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 1721c14e8e0d75cc611067b6f4e84028ea7c47d5 (diff) | |
download | llvm-192cd685129d6f42e8b191e12bddf74ade48c270.zip llvm-192cd685129d6f42e8b191e12bddf74ade48c270.tar.gz llvm-192cd685129d6f42e8b191e12bddf74ade48c270.tar.bz2 |
Add checks before hoisting out in loop pipelining (#90872)
Currently, during a loop pipelining transformation, operations may be
hoisted out without any checks on the loop bounds, which leads to
incorrect transformations and unexpected behaviour. The following [issue
](https://github.com/llvm/llvm-project/issues/90870) describes the
problem more extensively, including an example.
The proposed fix adds some check in the loop bounds before and applies
the maximum hoisting.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions