Commit
07751310580fa5b7b94b6efa85d7964af0f699a6
by pklausler[flang] Fix crash in folding (#48437)
Elemental intrinsic function folding was not taking the lower bounds of constant array arguments into account; these lower bounds can be distinct from 1 when named constants appear as arguments.
LLVM bugzilla #48437.
Differential Revision: https://reviews.llvm.org/D93321
|
 | flang/lib/Evaluate/fold-implementation.h |
 | flang/include/flang/Evaluate/constant.h |
 | flang/test/Evaluate/folding16.f90 |
Commit
6e890ec7beb0874464a0af9f84e41a987f968b23
by hahnjo[CMake] Avoid __FakeVCSRevision.h with no git repository
Set the return variable to "" in find_first_existing_vc_file to say that there is a repository, but no file to depend on. This works transparently for all other callers that handle undefinedness and equality to an empty string the same way.
Use the knowledge to avoid depending on __FakeVCSRevision.h if there is no git repository at all (for example when building a release) as there is no point in regenerating an empty VCSRevision.h.
Differential Revision: https://reviews.llvm.org/D92718
|
 | llvm/cmake/modules/AddLLVM.cmake |
 | llvm/include/llvm/Support/CMakeLists.txt |
Commit
b607837c75d04cc007dcf855983dfa3b69f63d73
by jonathanchesterfield[libomptarget][nfc] Replace static const with enum
[libomptarget][nfc] Replace static const with enum
Semantically identical. Replaces 0xff... with ~0 to spare counting the f. Has the advantage that the compiler doesn't need to prove the 4/8 byte value dead before discarding it, and sidesteps the compilation question associated with what static means for a single source language.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D93328
|
 | openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h |
 | openmp/libomptarget/deviceRTLs/nvptx/src/target_impl.h |