- Jul 17, 2023
-
-
Craig Topper authored
Instead of checking '!Zfh && Zhfmin' first, handle Zfh. Then assert that the other case is F+Zfhmin. The F+Zfhmin check will need to be relaxed for bfloat16 support. As it was written before there would be now error to catch that. Instead it would just silently create fsgnj.h instructions.
-
Lang Hames authored
An in-flight materialization may try to claim responsibility for new symbols (via MaterializationResponsibility::defineMaterializing) after the tracker that is associated with the materialization is removed, leaving the tracker defunct. Failure to error out early here could leave the JITDylib in an invalid state, with defineMaterializing associating new symbols with the already-defunct tracker. Erroring out early prevents this.
-
- Jul 16, 2023
-
-
Cassie Jones authored
Follow-up to D155123, uniformly handle cases where there are duplicate -mios-verion-min arguments. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D155407
-
Lang Hames authored
-
Nuno Lopes authored
This placeholder is only used during the execution of the algorithm, and it's patched with a concrete value at the end
-
Nuno Lopes authored
It was using undef as placeholder for getting the TTI cost for cttz While at it, update the comments about cttz's last argument (is_zero_poison)
-
Craig Topper authored
This allows us to remove some curly braces around the if body. The code wasn't consistent about it anyway. Comments before is used in other places in this file already. Reviewed By: wangpc, MaskRay Differential Revision: https://reviews.llvm.org/D155390
-
Craig Topper authored
We can use a null SDValue for the 'false' case. This avoids the need for an output parameter. This is consistent with other SelectionDAG code. Reviewed By: wangpc Differential Revision: https://reviews.llvm.org/D155388
-
Piotr Zegar authored
Improved detection of argument swaps involving integral and floating-point types by enhancing handling of implicit conversions. Now implicit casts from float to double are also considered, same for integers. Improved documentation. Fixes: #62926 Reviewed By: carlosgalvezp Differential Revision: https://reviews.llvm.org/D151495
-
Lang Hames authored
Avoids some code duplication.
-
Nuri Amari authored
In https://reviews.llvm.org/D126664, a warning is introduced warning against the deprecated out of line definition of a static constexpr member in C++17 and later. Prior to this patch, the only diagnostic group controlling this diagnostic was -Wdeprecated, which controls many many diagnostics. This patch creates a diagnostic group specifically for this warning so it can be controlled in isolation, while also being included with -Wdeprecated. Differential Revision: https://reviews.llvm.org/D153881
-
Piotr Fusik authored
Reviewed By: Mordante, #libc Differential Revision: https://reviews.llvm.org/D155359
-
ManuelJBrito authored
Ensure that commutative intrinsics that only differ by a permutation of their operands get the same value number by sorting the operand value numbers. Fixes https://github.com/llvm/llvm-project/issues/46753 Differential Revision: https://reviews.llvm.org/D155309
-
Lang Hames authored
The COFF/x86-64 backend has been usable since LLVM 16.
-
Piotr Fusik authored
Reviewed By: #libc, Mordante Differential Revision: https://reviews.llvm.org/D155276
-
Jay Foad authored
Don't reassociate (C1+C2)+Y -> C1+(C2+Y). Fixes https://github.com/llvm/llvm-project/issues/63849 Differential Revision: https://reviews.llvm.org/D155284
-
Nico Weber authored
-
Mark de Wever authored
-
Craig Topper authored
This reverts commit ef1ccc49. Committed by mistake.
-
Craig Topper authored
The type should only be scalar here and the isScalarInteger should be a simpler check.
-
Craig Topper authored
This allows us to remove some curly braces around the if body. The code wasn't consistent about it anyway. Comments before is used in other places in this file already. Differential Revision: https://reviews.llvm.org/D155390
-
Craig Topper authored
This keeps all the scalar code together.
-
Craig Topper authored
-
Jim Lin authored
-
Lang Hames authored
-
- Jul 15, 2023
-
-
daiyousei-qz authored
This patch implements a new inlay hint feature proposed in https://github.com/clangd/clangd/issues/1634. It introduces a new inlay hint kind BlockEnd which shows a comment-like hint after a definition brace pair, including function/type/namespace. For example, ``` void foo() { } ^ ``` In the code shown above, a hint should be displayed at ^ labelling `// foo`. Such hint only shows when there's no trailing character after the position except whitespaces and optionally ';'. Also, new configurations are introduced in the inlay hints block ``` InlayHints: BlockEnd: Yes # toggling the feature ``` Reviewed By: sammccall Differential Revision: https://reviews.llvm.org/D150635
-
ziqingluo-90 authored
Removed dependency on `clangSema` from UnsafeBufferAnalysis.
-
Maksim Kita authored
Generalise ((x1 ^ y1) | (x2 ^ y2)) == 0 transform to more than two pairs of variables https://github.com/llvm/llvm-project/issues/57831. Depends D154384. Reviewed By: goldstein.w.n, nikic Differential Revision: https://reviews.llvm.org/D154306
-
Maksim Kita authored
Precommit tests for D154306. Differential Revision: https://reviews.llvm.org/D154384
-
Brad Smith authored
Set setMaxAtomicSizeInBitsSupported for Mips. Set the value as appropriate for 64-bit MIPS vs 32-bit. Reviewed By: efriedma Differential Revision: https://reviews.llvm.org/D141189
-
Fangrui Song authored
GNU ld added ^ support in July 2023 and it looks like ^= is in plan as well. For now, we don't support `a^=0` (^= without a preceding space).
-
Jon Chesterfield authored
-
Stephen Peckham authored
When generating XCOFF, the compiler generates a csect with an internal name. Each function results in a label within the csect. This patch replaces the internal name ".text" with an empty string "". This avoids adding special code to handle a function text() in the source file, and works better with some XCOFF tools that are confused when the csect and the first function have the same address. Reviewed By: hubert.reinterpretcast Differential Revision: https://reviews.llvm.org/D154854
-
Zheng Qian authored
Add option -fkeep-persistent-storage-variables to emit all variables that have a persistent storage duration This patch adds a new option -fkeep-persistent-storage-variables to emit all variables that have a persistent storage duration, including global, static and thread-local variables. This could be useful in cases where the presence of all these variables as symbols in the object file are required, so that they can be directly addressed. Reviewed By: hubert.reinterpretcast Differential Revision: https://reviews.llvm.org/D150221
-
Jon Chesterfield authored
-
Kazuki Sakamoto authored
ModuleList unexpectedly caches module beyond test. Tear it down. - https://green.lab.llvm.org/green/view/LLDB/job/as-lldb-cmake/2260/testReport/junit/lldb-unit/Target___TargetTests_LocateModuleCallbackTest/GetOrCreateModuleWithCachedModule/ - https://green.lab.llvm.org/green/view/LLDB/job/as-lldb-cmake/2260/testReport/junit/lldb-unit/Target___TargetTests_LocateModuleCallbackTest/GetOrCreateModuleWithCachedModuleAndSymbol/ Differential Revision: https://reviews.llvm.org/D155333
-
Farid Zakaria authored
The next sections in GettingStarted assume you are still in the root directory llvm-project when using ninja. Make the `cmake --build` command match it as well. Note: I am a new cmake user and this confused me. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D153727
-
Thomas Köppe authored
Reviewed By: jhenderson, MaskRay Differential Revision: https://reviews.llvm.org/D153671
-
Craig Topper authored
Unsigned is a better representation for bitmanipulation and cryptography.w The only exception being the return values for clz and ctz intrinsics is a signed int. That matches the target independent clz and ctz builtins. This is consistent with the current scalar crypto proposal https://github.com/riscv-non-isa/riscv-c-api-doc/pull/44 Reviewed By: VincentWu Differential Revision: https://reviews.llvm.org/D154616
-
Owen Pan authored
The operator keyword preceded by a template closer should be annotated as TT_FunctionDeclarationName. Fixes #63879. Differential Revision: https://reviews.llvm.org/D155358
-