aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Interpreter/Interpreter.cpp
diff options
context:
space:
mode:
authorMichael Kruse <llvm-project@meinersbur.de>2025-08-26 11:30:42 +0200
committerGitHub <noreply@github.com>2025-08-26 11:30:42 +0200
commite9a27a3a7515eb9854588700a589912ee851c4e3 (patch)
treec1e3ab0b5aa923d8242d58f38a85dd8548ce4e75 /clang/lib/Interpreter/Interpreter.cpp
parent5c852fcb741a1b13e1231b6ec112f67a49fe9473 (diff)
downloadllvm-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