- Dec 26, 2023
-
-
Dimitry Andric authored
Since ~2019 we have been carrying a libc++ patch in FreeBSD, that adds the `EINTEGRITY` errno value. At the time, I submitted https://reviews.llvm.org/D56398 for this, but due to the complicated `ELAST` handling in `errno.h`, which that patch made even more complicated, it was put on hold. I would like to try this again, but much simplified: there is no need to modify `errno.h`, since all supported versions of FreeBSD define both `EOWNERDEAD` and `ENOTRECOVERABLE`, so the part that attempts to redefine `ELAST` is effectively never used, and for FreeBSD we can simply ignore it. The only proposed changes will now be to optionally add `EINTEGRITY` as an `enum errc` value, and add a corresponding test to `errc.pass.cpp`.
-
Kai Luo authored
Demonstrate `IMPLICIT_DEF implicit-def ...` can be generated after coalescing on PPC. The case is reduced from failure in #75570. The failure is triggered after #75271 .
-
Yingwei Zheng authored
This patch fixes the miscompilation when we try to bitcast a floating point vector into an integer scalar.
-
- Dec 25, 2023
-
-
Weining Lu authored
This reverts commit 0fbc728d. In 88548df0, both the .sec.foo and .tex sections used the same section flags, hence sharing one segment, pushing the output file size too large. This breaks on many buildbots. Now assign section .sec.foo different flags ("awx") from .text ("ax") so that both sections get their own segment.
-
Piotr Zegar authored
Fixed spelling of some classes in code and in documentation. Fixes for #76101
-
Piotr Zegar authored
Added -fexceptions switch to test. Added missing Fixes for #76101.
-
Piotr Zegar authored
Added -fexceptions switch to test. It were missing in #76101.
-
LLVM GN Syncbot authored
-
Tyler Rockwood authored
Introduce a new (off by default) clang tidy check to ensure that variables of a specific type are always used even if -Wunused-variables wouldn't generate a warning. This check has already caught a couple of different bugs on the codebase I work on, where not handling a future means that lifetimes may not be kept alive properly as an async chunk of code may run after a class has been destroyed, etc. I would like to upstream it because I believe there could be other applications of this check that would be useful in different contexts. --------- Signed-off-by:Tyler Rockwood <rockwood@redpanda.com>
-
Acim Maravic authored
Update DAG ISel to support 64bit versions S_FF1_I32_B64 and S_FLBIT_I32_B664 --------- Co-authored-by:Acim Maravic <Acim.Maravic@amd.com>
-
Weining Lu authored
Several buildbots report: ld.lld: error: failed to open /dev/null: Cannot allocate memory For example: - https://lab.llvm.org/buildbot/#/builders/184/builds/8842 - https://lab.llvm.org/buildbot/#/builders/247/builds/12559
-
Violet Purcell authored
Currently there's no component for LLVMPolly and PollyISL, however they are added to exports whether or not they are installed. This commit calls add_llvm_install_targets in the add_polly_library function to allow installation of LLVMPolly and PollyISL via distribution components, so they can be installed without also installing libPolly.a. Closes: https://github.com/llvm/llvm-project/pull/66598
-
vient authored
Otherwise link may fail if user provided additional library to link with via CMAKE_EXE_LINKER_FLAGS. Concrete example is using custom allocator, LLVMSupport provides needed -lpthread in that case. Closes: https://github.com/llvm/llvm-project/pull/65424
-
Lu Weining authored
R_LARCH_CALL36 was designed for function call on medium code model where the 2 instructions (pcaddu18i + jirl) must be adjacent. This is expected to replace current medium code model implementation, i.e. R_LARCH_PCALA_{HI20,LO12} on pcalau12i + jirl. See https://github.com/loongson/la-abi-specs/pull/3 for more details. -
A. Jiang authored
This test file mainly asserts the implementation details of libc++, so it should be in the `libcxx` subdirectory.
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Dan McGregor authored
Similar to b9935bb0, but also apply a similar change to ACCESS_CHECK_ADD. If ASAN_SHADOW_OFFSET_CONST cannot be encoded as a displacement, switch to `movabsq` and the register offset variant of cmp.
-
Yeting Kuo authored
This patch also add tests whose masks are too narrow to combine. I think it can help us to find out bugs caused by too large known bits.
-
Michael Liao authored
-
Qizhi Hu authored
Skip checking `TemplateTypeParmDecl ` in `VisitTypeAliasTemplateDecl`. [Fix this crash](https://github.com/llvm/llvm-project/issues/74765 ) Co-authored-by:
huqizhi <836744285@qq.com>
-
Jim Lin authored
Zvfbfmin doesn't need Zfbfmin also enabled.
-
HaohaiWen authored
Most basic block do not need to query dominates. Defer initialization of InstrPosIndexes to first query for each MBB.
-
HaohaiWen authored
-
Kazu Hirata authored
-
Yingwei Zheng authored
This patch folds xor of icmps into a single comparison using range-based reasoning as `foldAndOrOfICmpsUsingRanges` does. Fixes #70928.
-
Kazu Hirata authored
-
Petr Hosek authored
This is a follow up to #75635 which broke the build on Fuchsia. We don't support ifunc on Fuchsia so we shouldn't define __init_cpu_features. For __init_cpu_features_resolver we have to use _zx_system_get_features as a Zircon native solution.
-
Lang Hames authored
Previously the JITLink MachO backends (aarch64 and x86-64) only looked at the fixup block to determine which symbol was being fixed up. This assumption breaks if both symbols used in the subtractor are in the same block. The fix is to check for such cases and use the offsets of each symbol to decide which is being fixed up. The issue only resulted in incorrect behavior for negative-delta relocations, so the testcases use eh-frames with explicit edges for the CIE-pointer field in FDEs (since these are negative-deltas). rdar://119351329
-
Craig Topper authored
-
Benjamin Kramer authored
-
- Dec 24, 2023
-
-
Simon Pilgrim authored
Similar to the existing isZExtFree(SDValue, EVT) wrapper, this will allow targets to override for specific cases (e.g. free truncation of an ext/extload node). But for now its just used to wrap the existing isTruncateFree(EVT, EVT) call.
-
youkaichao authored
The current command will raise an error: > The `opt -passname` syntax for the new pass manager is not supported, please use `opt -passes=<pipeline>` (or the `-p` alias for a more concise version). Update the usage now.
-
Shengchen Kan authored
This patch is to extract the NFC in #76319 into a separate commit.
-
LLVM GN Syncbot authored
-
Owen Pan authored
This is needed because Windows doesn't have anything equivalent to the POSIX fnmatch() function.
-
Yingwei Zheng authored
This patch adds support for `__riscv_clmulr_32/64` in `riscv_bitmanip.h`. It also fixes the extension requirements of `clmul/clmulh`.
-
Yingwei Zheng authored
This patch replaces `__builtin_riscv_cpop_32/64` with `__builtin_popcount(ll)` because `__builtin_riscv_cpop_32/64` is not implemented in clang.
-
LLVM GN Syncbot authored
-