1. [VectorUtils] API for VFShape, update VFInfo. (details)
  2. [OPENMP50]Add support for if clause for simd part in taskloop simd (details)
Commit eac93757c39bbd2b2290d7543619eebd770c3141 by francesco.petrogalli
[VectorUtils] API for VFShape, update VFInfo.
Summary: This patch introduces an API to build and modify vector shapes.
The validity of a VFShape can be checked with the
`hasValidParameterList` method, which is also run in an assertion each
time a VFShape is modified.
The field VFISAKind has been moved to VFInfo under the assumption that
different ISAs can map to the same VFShape (as it can be in the case of
vector extensions with the same registers size, for example AVX and
Reviewers: sdesmalen, jdoerfert, simoll, hsaito
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision:
The file was modifiedllvm/unittests/Analysis/VectorUtilsTest.cpp
The file was modifiedllvm/lib/Analysis/VectorUtils.cpp
The file was modifiedllvm/include/llvm/Analysis/VectorUtils.h
The file was modifiedllvm/lib/Analysis/VFABIDemangling.cpp
The file was modifiedllvm/unittests/Analysis/VectorFunctionABITest.cpp
Commit 61205821ca20dbf1d9a4dc2c1c590955b249e8ee by a.bataev
[OPENMP50]Add support for if clause for simd part in taskloop simd
According to OpenMP 5.0, the `if` clause can be applied to simd
subdirective in the combined directive.
The file was modifiedclang/test/OpenMP/taskloop_simd_ast_print.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/test/OpenMP/taskloop_simd_codegen.cpp