- Jul 25, 2022
-
-
Kazu Hirata authored
Identified with llvm-header-guard.
-
Kazu Hirata authored
Identified with readability-redundant-string-init.
-
Kazu Hirata authored
Identified with readability-redundant-member-init.
-
Kazu Hirata authored
Identified with modernize-use-nullptr.
-
Kazu Hirata authored
Identified with modernize-use-bool-literals.
-
Kazu Hirata authored
-
Fangrui Song authored
My x86-64 lld executable is 2KiB smaller. .eh_frame writing gets faster as there were lots of divisions.
-
LLVM GN Syncbot authored
-
Andrew Turner authored
They have been ported and tested to work on AArch64 (see D125883, D125758, and D125873). Reviewed By: dim, MaskRay Differential Revision: https://reviews.llvm.org/D130063
-
Jonas Toth authored
This patch connects the check for const-correctness with the new general utility to add `const` to variables. The code-transformation is only done, if the detected variable for const-ness is not part of a group-declaration. The check allows to control multiple facets of adding `const`, e.g. if pointers themself should be marked as `const` if they are not changed. Reviewed By: njames93 Differential Revision: https://reviews.llvm.org/D54943
-
Khem Raj authored
clang generates calls to these intrinsics when used for ppc32/linux, when using libgcc this works ok but when using compiler-rt for rtlib it fails with missing intrinsic symbols. also see [1] [1] https://lists.llvm.org/pipermail/llvm-dev/2014-May/072784.html Reviewed By: MaskRay, glaubitz Differential Revision: https://reviews.llvm.org/D121379
-
Amaury Séchet authored
-
- Jul 24, 2022
-
-
Matt Arsenault authored
This would create a new interval missing the subrange and hit this verifier error: *** Bad machine code: Live interval for subreg operand has no subranges *** - function: test_remat_subreg_def - basic block: %bb.0 (0xa568758) [0B;128B) - instruction: 32B dead undef %4.sub0:vreg_64 = V_MOV_B32_e32 2, implicit $exec
-
Amaury Séchet authored
-
Matt Arsenault authored
-
Simon Pilgrim authored
-
Amaury Séchet authored
-
Simon Pilgrim authored
-
Simon Pilgrim authored
-
Corentin Jabot authored
-
Corentin Jabot authored
Fixes https://github.com/llvm/llvm-project/issues/55638. `if consteval` was evaluated incorrectly when in a non-constant context that could be constant-folded. Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D130437
-
Corentin Jabot authored
As per P2327R1, |=, &= and ^= are no longer deprecated in all languages mode. Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D130421
-
David Chisnall authored
5ab6ee75 assumed that if `RValue::isScalar()` returns true then `RValue::getScalarVal` will return a valid value. This is not the case when the return value is `void` and so void message returns would crash if they hit this path. This is triggered only for cases where the nil-handling path needs to do something non-trivial (destroy arguments that should be consumed by the callee). Reviewed By: triplef Differential Revision: https://reviews.llvm.org/D123898
-
Simon Pilgrim authored
Just use KnownBits::isZero() to ensure all the bits are known zero.
-
Simon Pilgrim authored
Noticed while working to remove SelectionDAG::GetDemandedBits - we were relying on the callers to have already bailed for scalable vectors
-
Simon Pilgrim authored
[DAG] SimplifyDemandedVectorElts - if every and/mul element-pair has a zero/undef then just constant fold to zero
-
Simon Pilgrim authored
-
Simon Pilgrim authored
-
Simon Pilgrim authored
For mask ops like these, the other operand's corresponding element might be zero (result = zero) - so we must demand all the bits and that element. This appears to be what D128570 was trying to fix - both sides of the funnel shift mask of the vXi64 (legalized to v2Xi32) were incorrectly simplifying the upper 32-bit halves to undef, resulting in bad folds later on. I intend to address the test case regressions, but this close to the release branch I'd prefer to get a fix in first.
-
Fangrui Song authored
-
Fangrui Song authored
-
Nathan Ridge authored
$0 can only be used as a tab stop, not as a placeholder (e.g. `${0:expression}` is not valid) Fixes https://github.com/clangd/clangd/issues/1190 Differential Revision: https://reviews.llvm.org/D128621 -
Kazu Hirata authored
This reverts commit d534967b. The patch causes build failures, such as: https://lab.llvm.org/buildbot/#/builders/121/builds/21760
-
Kazu Hirata authored
The declaration was introduced without a corresponding definition on Sep 7, 2020 in commit f5d07a05.
-
Fangrui Song authored
-
Brad Smith authored
[libcxx] Remove static inline and make use of _LIBCPP_HIDE_FROM_ABI in __support/xlocale/__nop_locale_mgmt.h header Reviewed By: ldionne Differential Revision: https://reviews.llvm.org/D129949
-
Kazu Hirata authored
-
Kazu Hirata authored
Identified with modernize-use-default-member-init
-
Craig Topper authored
-
NAKAMURA Takumi authored
Fixes llvmorg-15-init-917-g46a6f5ae
-