[PATCH] D114379: [OMPIRBuilder] Add support for simd (loop) directive.
Michael Kruse via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 18 08:31:12 PST 2022
Meinersbur added inline comments.
================
Comment at: llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp:1691-1696
+ bool Found = false;
+ if (llvm::any_of(*LoopBody, [](Instruction &I) {
+ return I.getMetadata("llvm.access.group") != nullptr;
+ }))
+ Found = true;
+ EXPECT_TRUE(Found);
----------------
Can make it a one-liner.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D114379/new/
https://reviews.llvm.org/D114379
More information about the cfe-commits
mailing list