[all-commits] [llvm/llvm-project] 50eaa8: [Polly][test] Test difference between isl::stat:ok...
Michael Kruse via All-commits
all-commits at lists.llvm.org
Thu Aug 5 12:49:44 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 50eaa82cdbc72588f0841658bbad9695855eba85
https://github.com/llvm/llvm-project/commit/50eaa82cdbc72588f0841658bbad9695855eba85
Author: Michael Kruse <llvm-project at meinersbur.de>
Date: 2021-08-05 (Thu, 05 Aug 2021)
Changed paths:
M polly/unittests/Isl/IslTest.cpp
Log Message:
-----------
[Polly][test] Test difference between isl::stat:ok() and isl::stat::error().
The foreach callback wrappers tests check the return values of isl::stat:ok() and isl::stat::error() separately. However, due to the the container they are iterating over containing just one element, they are actually not testing the difference between them.
This patch changes to set to be iterated over to contain 2 element to make returning sl::stat:ok (continue iterating the next element) and isl::stat::error (break after current element) have different effects other than the return value of the foreach itself.
Reviewed By: patacca
Differential Revision: https://reviews.llvm.org/D107395
More information about the All-commits
mailing list