- Jun 07, 2023
-
-
Fangrui Song authored
[Hexagon,Lanai,LoongArch,Sparc] Migrate to new encodeInstruction that uses SmallVectorImpl<char>. NFC
-
WANG Xuerui authored
The LoongArch ELF psABI document has changed location and versioning scheme; this revision is v2.10 in the old scheme. Notably this revision brings initial capability of linker relaxation to LoongArch. Reviewed By: SixWeining, MaskRay Differential Revision: https://reviews.llvm.org/D152184
-
Chuanqi Xu authored
Close https://github.com/llvm/llvm-project/issues/63022 This is the following of https://reviews.llvm.org/D135550, which is discussed in https://discourse.llvm.org/t/rfc-unify-memory-effect-attributes/65579. In my imagination, we could fix the issue fundamentally after we introduces new memory kind thread id. But I am not very sure if we can fix the issue fundamentally in time. Besides that, I think the correctness is the most important. So it should not be bad to land this given it is innocent. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D151774
-
Jeffrey Byrnes authored
Differential Revision: https://reviews.llvm.org/D146774 Change-Id: Icd7aaaa0b257a25713c22ead0813777cef7d5859
-
LLVM GN Syncbot authored
-
Ellis Hoag authored
In https://reviews.llvm.org/D147812 I created `BalancedPartitioningTest.cpp` and inadvertently drastically increased the number of files needed to compile `SupportTests`. Instead lets move the `BPFunctionNode` test to `unittests/ProfileData` so we can remove the extra dependency. Reviewed By: thakis Differential Revision: https://reviews.llvm.org/D152325
-
Chuanqi Xu authored
This is required in the review. Differential Revision: https://reviews.llvm.org/D151774
-
Craig Topper authored
It's possible that both multiplicands are being negated. This won't change the opcode, but we can delete the two negates. Allow this case to get through negateFMAOpcode. I think D152260 will also fix this test case, but in the future it may be possible for an fneg to appear after we've already converted to RISCVISD opcodes in which case D152260 won't help. Reviewed By: fakepaper56 Differential Revision: https://reviews.llvm.org/D152296
-
Jim Lin authored
-
Craig Topper authored
-
Paul Kirth authored
This reverts commit 27aea17f. For details, see: https://reviews.llvm.org/D152112 Fuchsia CI failure: https://ci.chromium.org/ui/p/fuchsia/builders/toolchain.ci/clang-linux-arm64/b8779118297575483793/overview
-
LLVM GN Syncbot authored
-
Med Ismail Bennani authored
This shell test also checks some SBAPI functionalities and thus requires python support. Signed-off-by:Med Ismail Bennani <ismail@bennani.ma>
-
Florian Mayer authored
Revert "Revert "[RISCV] Add special case to selectImm for constants that can be created with (ADD (SLLI C, 32), C)."" Revert broke even more stuff. This reverts commit d5fbec30.
-
Florian Mayer authored
Revert "[RISCV] Add special case to selectImm for constants that can be created with (ADD (SLLI C, 32), C)." Triggers UBSan error. This reverts commit 58b2d652.
-
Florian Mayer authored
Breaks tests. This reverts commit fdb1a891.
-
Marco Nelissen authored
Trusty now has MTE support. Back-ported from https://r.android.com/2332745. Reviewed By: Chia-hungDuan Differential Revision: https://reviews.llvm.org/D152219
-
Nico Weber authored
-
usama hameed authored
On Darwin, we do not want to show the BuildId appended at the end of stack frames in Sanitizers. The BuildId/UUID can be seen by using the print_module_map=1 sanitizer option. Differential Revision: https://reviews.llvm.org/D150298 rdar://108324403
-
Haowei Wu authored
This patch adds 'llvm-strings' to Fuchsia clang build. Differential Revision: https://reviews.llvm.org/D152318
-
Kun Wu authored
Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D151775
-
Med Ismail Bennani authored
This patch skips both `test_completion_target_create_from_root_dir` introduced in `e8966125` and `target-label.test` introduced in `1e82b201 ` since I don't have a windows machine to try to accomodate the filesystem path style differences for these tests to pass. Signed-off-by:
Med Ismail Bennani <ismail@bennani.ma>
-
Arthur Eubanks authored
This reverts commit fffa05a2. This seems to cause hwasan tests to run in environments it didn't run in before.
-
Amir Ayupov authored
Fix debug printing, making it easier to compare two debug logs side by side: - `BinaryFunction::addRelocation`: print function name instead of `this` ptr, - `DataAggregator::doTrace`: remove duplicated function name. Reviewed By: #bolt, maksfb Differential Revision: https://reviews.llvm.org/D152314
-
Jonas Devlieghere authored
This fixes a regression introduced by 27f27d15 that results in a NameError: (name 'self' is not defined) when using crashlog with the -c option. rdar://110007391
-
Fangrui Song authored
-
Matt Arsenault authored
Don't bother calling ocml. This stops setting the appropriate fast math flags, and requires this junk for passing to a private pointer.
-
Aaron Ballman authored
Addresses the issue found by: https://lab.llvm.org/buildbot/#/builders/30/builds/35968
-
Craig Topper authored
-
Artem Belevich authored
CUDA-12 no longer supports 32-bit compilation. Tests agnostic to 32/64 compilation mode are switched to use nvptx64. Tests that do care about it have 32-bit ptxas compilation disabled with cuda-12+. Differential Revision: https://reviews.llvm.org/D152199
-
Matt Arsenault authored
-
Matt Arsenault authored
-
Fangrui Song authored
64666d46 incorrectly removed REQUIRES. 2 RUN lines do need x86-registered-target.
-
Matt Arsenault authored
Also introduce __builtin_ldexpf16.
-
Matt Arsenault authored
AMDGPU has native instructions and target intrinsics for this, but these really should be subject to legalization and generic optimizations. This will enable legalization of f16->f32 on targets without f16 support. Implement a somewhat horrible inline expansion for targets without libcall support. This could be better if we could introduce control flow (GlobalISel version not yet implemented). Support for strictfp legalization is less complete but works for the simple cases.
-
Matt Arsenault authored
-
Nikolas Klauser authored
This simplifies the usage of `__less` by making the class not depend on the types compared, but instead the `operator()`. We can't remove the template completely because we explicitly instantiate `std::__sort` with `__less<T>`. Reviewed By: ldionne, #libc Spies: arichardson, EricWF, libcxx-commits, mgrang Differential Revision: https://reviews.llvm.org/D145285
-
Fangrui Song authored
-f{constexpr,macro,template}-backtrace-limit=, -fspell-checking-limit=, -ftemplate-depth= -
Amir Ayupov authored
Parametrize SampleProfileInference and SampleProfileLoaderBaseImpl by function type (Function/MachineFunction) instead of block type (BasicBlock/MachineBasicBlock). Move out specializations to appropriate locations. This change makes it possible to use GraphTraits instead of a custom TypeMap and make SampleProfileInference not dependent on LLVM types, paving the way for generalizing SampleProfileInference interfaces to BOLT IR types (BinaryFunction/BinaryBasicBlock) in stale profile matching (D144500). Reviewed By: hoy Differential Revision: https://reviews.llvm.org/D152187
-
Benjamin Kramer authored
-