- Nov 22, 2020
-
-
Yashaswini authored
Semantic check added to check and restrict the value of the parameter in the COLLAPSE or ORDERED clause if it is larger than the number of nested loops following the construct. Test Cases: omp-do-collapse-positivecases.f90 omp-do-collapse.f90 omp-do-ordered-positivecases.f90 omp-do-ordered.f90 Reviewed by: Kiran Chandramohan @kiranchandramohan , Valentin Clement @clementval Differential Revision: https://reviews.llvm.org/D89860
-
Simon Pilgrim authored
This is part of the discussion on D91876 about trying to reduce custom lowering of MIN/MAX ops on older SSE targets - if we can improve generic vector expansion we should be able to relax the limitations in SelectionDAGBuilder when it will let MIN/MAX ops be generated, and avoid having to flag so many ops as 'custom'.
-
Nathan James authored
Some of the buildbots were failing due to what seems to be them using a non c++14 compilant std::string implementation. Since c++14 std::basic_string::append(const basic_string, size_t, size_t) has a defaulted 3rd paramater, but some of the build bots were reporting that it wasn't defaulted in their implementation.
-
Simon Pilgrim authored
Cleanup unused system headers and fix an implicit dependency
-
Nathan James authored
First step of implementing clang-tidy configuration into clangd config. This is just adding support for reading and verifying the clang tidy options from the config fragments. No support is added for actually using the options within clang-tidy yet. That will be added in a follow up as its a little more involved. Reviewed By: sammccall Differential Revision: https://reviews.llvm.org/D90531
-
Craig Topper authored
We generate two 4 byte loads or two stores as part of the expansion. Previously the MemOperand was set the same for both to cover the full 8 bytes. Now we set a separate 4 byte mem operand for each with a 4 byte offset for the high part.
-
Esme-Yi authored
Summary: We have the patterns to fold 2 RLWINMs before RA, while some RLWINM will be generated after RA, for example rGc4690b00. If the RLWINM generated after RA followed by another RLWINM, we expect to perform the optimization too. Reviewed By: shchenz Differential Revision: https://reviews.llvm.org/D89855
-
Kazu Hirata authored
The function was introduced on Jun 12, 2016 in commit 071d0f18. Its definition was removed on Mar 2, 2017 in commit 1393761e.
-
Yashaswini authored
Semantic check to restrict the appearance of a variable that is part of another variable (as an array or structure element) in a PRIVATE or SHARED clause. Test Cases: omp-parallel-private01.f90 omp-parallel-private02.f90 omp-parallel-private03.f90 omp-parallel-private04.f90 omp-parallel-shared01.f90 omp-parallel-shared02.f90 omp-parallel-shared03.f90 omp-parallel-shared04.f90 Reviewed by: Kiran Chandramohan @kiranchandramohan , Valentin Clement @clementval Differential Revision: https://reviews.llvm.org/D89395
-
Kazu Hirata authored
The function definition was removed on Dec 22, 2011 in commit in 1eed5b51.
-
Kazu Hirata authored
ExpandStrictFPOp started taking two parameters instead of one on Jan 10, 2020 in commit f678fc76, but the declaration for the single-perameter version has remained since.
-
Mircea Trofin authored
The input to the test's use of grep should be treated as text, and that's not the case on certain Linux distros. Added --text.
-
Ella Ma authored
[llvm][clang][mlir] Add checks for the return values from Target::createXXX to prevent protential null deref All these potential null pointer dereferences are reported by my static analyzer for null smart pointer dereferences, which has a different implementation from `alpha.cplusplus.SmartPtr`. The checked pointers in this patch are initialized by Target::createXXX functions. When the creator function pointer is not correctly set, a null pointer will be returned, or the creator function may originally return a null pointer. Some of them may not make sense as they may be checked before entering the function, but I fixed them all in this patch. I submit this fix because 1) similar checks are found in some other places in the LLVM codebase for the same return value of the function; and, 2) some of the pointers are dereferenced before they are checked, which may definitely trigger a null pointer dereference if the return value is nullptr. Reviewed By: tejohnson, MaskRay, jpienaar Differential Revision: https://reviews.llvm.org/D91410
-
Haowei Wu authored
Support adding handle annotations to sturucture that contains handles. All the handles referenced by the structure (direct value or ptr) would be treated as containing the release/use/acquire annotations directly. Patch by Yu Shan Differential Revision: https://reviews.llvm.org/D91223
-
Kazu Hirata authored
-
Michael Liao authored
-
Fangrui Song authored
-
Nikita Popov authored
We are doing a sextOrTrunc directly afterwards, so this seems useless. There is a multiplication in between, but truncating before or after the multiplication should not make a difference.
-
Martin Storsjö authored
This function is only used within the ifdef below. Differential Revision: https://reviews.llvm.org/D91850
-
Nikita Popov authored
Instead of requiring the caller to initialize the DecomposedGEP structure and then passing it in by reference, make DecomposeGEPExpression() responsible for initializing and returning the structure.
-
Nikita Popov authored
Use DecompGEP1.Offset instead of GEP1BaseOffset, etc. I found the asymmetry of modifying DecompGEP1.VarIndices, but not modifying DecompGEP1.Offset odd here.
-
clementval authored
-
Valentin Clement authored
This patch introduce the separate parser for the memory-order-clause from the general OmpClauseList. This parser still creates OmpClause node and therefore can use all the feature from TableGen and the OmpStructureChecker. This is applied only for the Flush construct in this patch and it should be applied for atomic as well. This is the approach we disscussed several time during the weekly call. Reviewed By: kiranchandramohan, sameeranjoshi Differential Revision: https://reviews.llvm.org/D91839
-
Nikita Popov authored
If aliasGEP returns MayAlias, the code does fall through to aliasPHI etc, so this FIXME is no longer applicable.
-
Harald van Dijk authored
%rip was only included for 64-bit RIP-relative relocations, but needs to be included for 32-bit as well. Reviewed By: MaskRay, RKSimon Differential Revision: https://reviews.llvm.org/D91339
-
Simon Pilgrim authored
-
Simon Pilgrim authored
-
Simon Pilgrim authored
Fix AVX512 prefixes to appease update_llc_test_checks.py
-
sameeran joshi authored
`OmpStructureChecker` has too much boilerplate code in source file. This patch: 1. Use helpers from `check-directive-structure.h` and reduces the boilerplate. 2. Use TableGen infrastructure as much as possible. Reviewed By: kiranchandramohan Differential Revision: https://reviews.llvm.org/D90834
-
Nikita Popov authored
Currently, we don't recognize that %a an %p don't alias.
-
Michał Górny authored
Translate between abridged and full ftag values in order to expose the latter in the gdb-remote protocol while the former are used by FXSAVE/XSAVE... This matches the gdb behavior. The Shell/Register tests now rely on the new behavior, and therefore are run on non-Darwin systems only. The Python (API) test relies on the legacy behavior, and is run on Darwin only. Differential Revision: https://reviews.llvm.org/D91504
-
- Nov 21, 2020
-
-
Paul C. Anagnostopoulos authored
Differential Revision: https://reviews.llvm.org/D91632
-
Faisal Vali authored
Reviewed by aaron.ballman, rsmith, wchilders Highlights of review: - avoid specifying an underlying type (unless such an enum is stored (or part of an abi?)) - avoid using enums as bit-fields, preferring unsigned bit-fields that we static_cast enumerators to. (MS's abi laysout enum bit-fields differently). - clang-format, clang-format, clang-format. https://reviews.llvm.org/D91035 Thank you!
-
Eugene Zhulenev authored
Differential Revision: https://reviews.llvm.org/D91912
-
sameeran joshi authored
[flang][openmp] Fix bug in `OmpClause::Hint` clause which was missing to generate inside in OMP.cpp.inc file. Before this patch "Hint" isn't found inside the generated file. ./bin/llvm-tblgen --gen-directive-gen ../llvm-project/llvm/include/llvm/Frontend/OpenMP/OMP.td -I ../llvm-project/llvm/include/ > OMP.cpp.in Reviewed By: clementval Differential Revision: https://reviews.llvm.org/D91909
-
Eugene Zhulenev authored
Differential Revision: https://reviews.llvm.org/D91910
-
Eugene Zhulenev authored
Reviewed By: nicolasvasilache Differential Revision: https://reviews.llvm.org/D91896
-
Kazushi (Jam) Marukawa authored
-
Kazushi (Jam) Marukawa authored
A getAdjustedFrameSize function may need to handle larger than 32 bits integer, so change int to uint64_t. Reviewed By: simoll Differential Revision: https://reviews.llvm.org/D91862
-
Tom Stellard authored
Differential Revision: https://reviews.llvm.org/D91554
-