diff options
author | Michael Kruse <llvm-project@meinersbur.de> | 2025-08-26 11:30:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-26 11:30:42 +0200 |
commit | e9a27a3a7515eb9854588700a589912ee851c4e3 (patch) | |
tree | c1e3ab0b5aa923d8242d58f38a85dd8548ce4e75 /clang/lib/Interpreter/Interpreter.cpp | |
parent | 5c852fcb741a1b13e1231b6ec112f67a49fe9473 (diff) | |
download | llvm-e9a27a3a7515eb9854588700a589912ee851c4e3.zip llvm-e9a27a3a7515eb9854588700a589912ee851c4e3.tar.gz llvm-e9a27a3a7515eb9854588700a589912ee851c4e3.tar.bz2 |
[OpenMPIRBuilder] Fix tripcount not a multiple of tile size (#154999)
The emitted code tests whether the current tile should executing the
remainder iterations by checking the logical iteration number is the one
after the floor iterations that execute the non-remainder iterations.
There are two counts of how many iterations there are: Those of
non-remainder iterations (simply rounded-down division of tripcount and
tile size), and those including an additional floor iteration for the
remainder iterations. The code was used the wrong one that caused the
condition to never match.
Diffstat (limited to 'clang/lib/Interpreter/Interpreter.cpp')
0 files changed, 0 insertions, 0 deletions