- Aug 04, 2022
-
-
LLVM GN Syncbot authored
-
Mircea Trofin authored
This just shuffles implementations and declarations around. Now the logger and the TF C API-based model evaluator are separate. Differential Revision: https://reviews.llvm.org/D131116
-
LLVM GN Syncbot authored
-
Slava Gurevich authored
Differential Revision: https://reviews.llvm.org/D130939
-
Konstantin Varlamov authored
Also fix `ranges::stable_sort` and `ranges::inplace_merge` to support proxy iterators now that their internal implementations can correctly dispatch `rotate`. Differential Revision: https://reviews.llvm.org/D130758
-
Blue Gaston authored
Additional tests requiring weak symbol attribute work around for macOS 12.0 Differential Revision: https://reviews.llvm.org/D131119
-
Jonas Devlieghere authored
Make LLDB resilient against failing dyld introspection SPIs: - dyld_process_create_for_current_task - dyld_process_snapshot_create_for_process - dyld_process_snapshot_get_shared_cache These can all fail and return a nullptr. Instead of having an assert, which doesn't really make sense, as we have no control over whether these calls succeed or not, bail out gracefully and use the fallback logic. rdar://98070414 Differential revision: https://reviews.llvm.org/D131110
-
jeff authored
Change-Id: I23396655880b5732ad991d47e51900408f5bc5ee
-
Craig Topper authored
D129980 converts (seteq (i64 (and X, 0xffffffff)), C1) into (seteq (i64 (sext_inreg X, i32)), C1). If bit 31 of X is 0, it will be turned back into an 'and' by SimplifyDemandedBits which can cause an infinite loop. To prevent this, check if bit 31 is 0 with computeKnownBits before doing the transformation. Fixes PR56905. Reviewed By: reames Differential Revision: https://reviews.llvm.org/D131113
-
Vitaly Buka authored
-
Craig Topper authored
This reverts commit c2066d19. It's causing failures on the build bots.
-
Jonas Devlieghere authored
This reverts commit c7bd61d4 because it breaks the underlying issue is apparently not yet resolved. This only affects the modules build.
-
Craig Topper authored
If the chain output of the AND32rm is used, the post isel peephole won't fold it. We should be able to fold it by replacing the chain use with the chain from a TEST32rm.
-
Jonas Devlieghere authored
Make TestModuleLoadedNotifys work with a dyld from the expanded shared cache in the DeviceSupport directory. In that case the module path is: ~/Library/Developer/Xcode/iOS DeviceSupport/<...>/Symbols/usr/lib/dyld instead of just: /usr/lib/dyld This makes the test pass when running against an embedded Darwin device.
-
Jonas Devlieghere authored
This test only makes sense on the host.
-
Chris Bieneman authored
Should have added this when I added the test directory. This just requires the DirectX target for running these tests.
-
Chris Bieneman authored
Juming out earlier if the global doesn't have a section is just a cleaner early out.
-
Vitaly Buka authored
-
Craig Topper authored
If we're going to emit a rep prefix before bsf as proposed in D130956, it makes sense to promote i16 operations to i32 to avoid the false depedency of tzcntw. Reviewed By: skan, pengfei Differential Revision: https://reviews.llvm.org/D130995
-
Rafael Auler authored
Got a warning from GCC when building this. Reviewed By: Amir Differential Revision: https://reviews.llvm.org/D131092
-
Adrian Prantl authored
Starting with macOS 13 CoreFoundation pulls in Foundation, so we always get the Foundation object description. rdar://96224141 Differential Revision: https://reviews.llvm.org/D131025
-
Adrian Prantl authored
The testcase was delta-reduced from an LTO build with sanitizer coverage and the MIR tail duplication pass caused a machine basic block to become unreachable in MIR. This caused the MBB to be invisible to the reverse post-order traversal used to initialize the MBB <-> RPONumber lookup tables. rdar://97226240 Differential Revision: https://reviews.llvm.org/D130999
-
Louis Dionne authored
Newer SDKs don't even provide libstdc++ headers, so it's effectively never valid to build for libstdc++ unless the user explicitly asks for it (in which case they will need to provide include paths and more).
-
Joseph Huber authored
Summary: A previous patch did not format the plugin again after making changes. Ensure that libomptarget stays formatted.
-
Siva Chandra authored
Loader for aarch64 will be extended in a future pass and this test will be enabled back again.
-
Corentin Jabot authored
This reverts commit 44f2baa3. Breaks self builds and seems to have conformance issues.
-
Augusto Noronha authored
-
Jonas Devlieghere authored
Add a function to make it easier to debug a test failure caused by an unexpected stop reason. This is similar to the assertState helper that was added in ce825e46. Before: self.assertEqual(stop_reason, lldb.eStopReasonInstrumentation) AssertionError: 5 != 10 After: self.assertStopReason(stop_reason, lldb.eStopReasonInstrumentation) AssertionError: signal (5) != instrumentation (10) Differential revision: https://reviews.llvm.org/D131083
-
Walter Erquinigo authored
-
Alex Bradbury authored
Although there's good coverage of the libcalls within llvm/test/CodeGen, it's useful to have tests for all ABI and hard/soft-float combinations in order to properly test the logic that enables libcall tail calls (which will be implemented in a follow-up patch).
-
Vincent Lee authored
This is motivated by https://reviews.llvm.org/D115852#3226050 where passing `LLVM_USE_LINKER` in PASSTHROUGH_PREFIXES breaks cross-compilation (e.g. targeting Windows on a Linux host). As suggested on that diff, implement an override for it by allowing users to pass `RUNTIMES_${target}_LLVM_USE_LINKER` to specify the linker for runtimes. Defaults to host linker if not specified. Reviewed By: phosek, smeenai Differential Revision: https://reviews.llvm.org/D131051
-
Felipe de Azevedo Piovezan authored
The function `handleDebugValue` has custom logic to handle certain kinds constants, namely integers, floats and null pointers. However, it does not handle constant pointers created from IntToPtr ConstantExpressions. This patch addresses the issue by replacing the Constant with its integer operand. A similar bug was addressed for GlobalISel in D130642. Reviewed By: aprantl, #debug-info Differential Revision: https://reviews.llvm.org/D130908
-
Aaron Ballman authored
We already correctly rejected: typedef __attribute__((vector_size(16))) _BitInt(4) Ty; but we would assert with: typedef __attribute__((ext_vector_type(4))) _BitInt(4) Ty; Now we issue the same error in both cases.
-
Fangrui Song authored
Move it from .data to .data.rel.ro
-
Corentin Jabot authored
This completes the implementation of P1091R3 and P1381R1. This patch allow the capture of structured bindings both for C++20+ and C++17, with extension/compat warning. In addition, capturing an anonymous union member, a bitfield, or a structured binding thereof now has a better diagnostic. We only support structured bindings - as opposed to other kinds of structured statements/blocks. We still emit an error for those. In addition, support for structured bindings capture is entirely disabled in OpenMP mode as this needs more investigation - a specific diagnostic indicate the feature is not yet supported there. Note that the rest of P1091R3 (static/thread_local structured bindings) was already implemented. at the request of @shafik, i can confirm the correct behavior of lldb wit this change. Fixes https://github.com/llvm/llvm-project/issues/54300 Fixes https://github.com/llvm/llvm-project/issues/54300 Fixes https://github.com/llvm/llvm-project/issues/52720 Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D122768
-
Augusto Noronha authored
It may be useful to search symbol table entries by mangled instead of demangled names. Add this optional functionality in the SymbolTable functions. Differential Revision: https://reviews.llvm.org/D130803
-
Siva Chandra Reddy authored
Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D130966
-
Jonas Devlieghere authored
Add a newline after LLDB_INSTRUMENT_VA to match the output of lldb-instr and keep everything consistent.
-
isuckatcs authored
In ExprEngine::bindReturnValue() we cast an SVal to DefinedOrUnknownSVal, however this SVal can also be Undefined, which leads to an assertion failure. Fixes: #56873 Differential Revision: https://reviews.llvm.org/D130974
-
Michał Górny authored
This reverts commit 446b61cf. Of course it does not work on Windows.
-