Commit
80381c4dc92572f54774041f0ad6786112360738
by mcinally[SVE] Lower fixed length VECREDUCE_[FMAX|FMIN] to Scalable
Differential Revision: https://reviews.llvm.org/D88444
|
 | llvm/test/CodeGen/AArch64/sve-fixed-length-fp-reduce.ll |
 | llvm/lib/Target/AArch64/AArch64ISelLowering.cpp |
Commit
b5543063e1bfd6195a2d34d2c892466c0050e08a
by llvm-project[flang][msvc] Define implicit conversion from UnsignedInt128 to int64_t.
The custom implementation of UnsignedInt128 has an implicit conversion operator to unit64_t, but not int64_t. Considering that the former is already truncating, and C++ implicitly converts uint64_t to int64_t, UnsignedInt128 should also support an implicit conversion to int64_t. An analogous conversion would be from uint32_t to int16_t.
Without the conversion operator overload, the msvc emits the following error: ``` descriptor-io.h(44): error C2440: 'static_cast': cannot convert from 'A' to 'int64_t' with [ A=Fortran::common::uint128_t ] ```
This patch is part of the series to make flang compilable with MS Visual Studio <http://lists.llvm.org/pipermail/flang-dev/2020-July/000448.html>.
Reviewed By: klausler
Differential Revision: https://reviews.llvm.org/D88509
|
 | flang/include/flang/Common/uint128.h |
Commit
bcd05599d0e53977a963799d6ee4f6e0bc21331b
by llvm-project[flang][msvc] Define access flags under Windows. NFC.
The flags F_OK, R_OK and W_OK are defined in unistd.h, which does not exist under the Windows platform. Windows still defines the `access` function. Its access flags are documented at https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/access-waccess. For compatibility, define the flags F_OK, R_OK and W_OK using these constants.
This patch is part of the series to make flang compilable with MS Visual Studio <http://lists.llvm.org/pipermail/flang-dev/2020-July/000448.html>.
Reviewed By: klausler
Differential Revision: https://reviews.llvm.org/D88508
|
 | flang/runtime/file.cpp |
Commit
d256797c9035aebf0309489c04dc34f8bae49dc4
by jonchesterfield[nfc][libomptarget] Drop parameter to named_sync
[nfc][libomptarget] Drop parameter to named_sync
named_sync has one call site (in sync.cu) where it always passed L1_BARRIER. Folding this into the call site and dropping the macro is a simplification.
amdgpu doesn't have ptx' bar.sync instruction. A correct implementation of __kmpc_impl_named_sync in terms of shared memory is much easier if it can assume that the barrier argument is this constant. Said implementation is left for a second patch.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D88474
|
 | openmp/libomptarget/deviceRTLs/nvptx/src/target_impl.h |
 | openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h |
 | openmp/libomptarget/deviceRTLs/common/src/sync.cu |
Commit
bf434a5f173eed4112a10e28e8a6236d48f9da07
by richardImprove the representation of <compare>'s zero-only type.
* Use an empty struct instead of a member pointer to represent this type, so that we don't actually pass a zero member pointer at runtime.
* Mark the constructor as consteval to ensure that no code is emitted for it whenever possible.
* Add a honeypot constructor to reject all non-int arguments, so that the only argument that can arrive at the real constructor is the literal 0.
This results in better generated code, and rejecting invalid comparisons against nullptr, 0L, and so on, while also rejecting invalid comparisons against (1-1) and similar that would be allowed if we required an integer constant expression with value 0.
Differential Revision: https://reviews.llvm.org/D85051
|
 | libcxx/include/__config |
 | libcxx/test/std/language.support/cmp/cmp.categories.pre/zero_type.verify.cpp |
 | libcxx/include/compare |
Commit
1c604a9f5fd65c91f097c856fa6643373fc869e1
by richardRecognize setjmp and friends as builtins even if jmp_buf is not declared yet.
This happens in glibc's headers. It's important that we recognize these functions so that we can mark them as returns_twice.
Differential Revision: https://reviews.llvm.org/D88518
|
 | clang/include/clang/Basic/Builtins.h |
 | clang/test/Sema/implicit-builtin-decl.c |
 | clang/lib/Sema/SemaDecl.cpp |
 | clang/include/clang/Basic/Builtins.def |
 | clang/test/CodeGen/setjmp.c |
 | clang/test/Sema/builtin-setjmp.c |
Commit
61b3106965d7c4c696d8e4cd272273011bb50bc0
by Stanislav.Mekhanoshin[AMDGPU] Remove SIEncodingFamily.GFX10_B
It turns to be not needed anymore.
Differential Revision: https://reviews.llvm.org/D88520
|
 | llvm/lib/Target/AMDGPU/SIInstrInfo.td |
Commit
2f95c50a8b713970c5134dabc246270111a48c6d
by richardFix use of wrong printf format specifier for size_t argument.
This causes a build break under -Werror=format.
|
 | lldb/bindings/python/python-wrapper.swig |