- Nov 26, 2022
-
-
Lei Zhang authored
When targeting WebGPU, we also need to transcompile SPIR-V, into WGSL this time. We have similar limitations there like when targeting Metal or MoltenVK. Reviewed By: kuhar Differential Revision: https://reviews.llvm.org/D138735
-
Lei Zhang authored
SPIR-V can be directly consumed by APIs like Vulkan and OpenCL, where we can use the capability list to diffferentiate. It can also be used as a compilation target to transcompile to shading languages like WGSL to target WebGPU. We have no way to tell that with just the capability list, so we cannot perform certain transformations only applicable to those targets thus far. So this commit add a field in the target environment to indicate the client API for such purposes. Reviewed By: kuhar Differential Revision: https://reviews.llvm.org/D138732
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Qiongsi Wu authored
The `lto-aix-system-assembler` currently only understands absolute path. This patch teaches the option so that it can resolve relative paths and tilde. Reviewed By: w2yehia Differential Revision: https://reviews.llvm.org/D138729
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Jason Molenda authored
This reverts commit 4346318f. This test case is failing on macOS, reverting until it can be looked at more closely to unblock the macOS CI bots. ``` File "/Volumes/work/llvm/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/coroutine_handle/TestCoroutineHandle.py", line 121, in test_libcpp self.do_test(USE_LIBCPP) File "/Volumes/work/llvm/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/coroutine_handle/TestCoroutineHandle.py", line 45, in do_test self.expect_expr("noop_hdl", File "/Volumes/work/llvm/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2441, in expect_expr value_check.check_value(self, eval_result, str(eval_result)) File "/Volumes/work/llvm/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 306, in check_value test_base.assertEqual(self.expect_summary, val.GetSummary(), AssertionError: 'noop_coroutine' != 'coro frame = 0x100004058' - noop_coroutine+ coro frame = 0x100004058 : (std::coroutine_handle<void>) $1 = coro frame = 0x100004058 { resume = 0x0000000100003344 (a.out`___lldb_unnamed_symbol223) destroy = 0x0000000100003344 (a.out`___lldb_unnamed_symbol223) } Checking SBValue: (std::coroutine_handle<void>) $1 = coro frame = 0x100004058 { resume = 0x0000000100003344 (a.out`___lldb_unnamed_symbol223) destroy = 0x0000000100003344 (a.out`___lldb_unnamed_symbol223) } ``` Those lldb_unnamed_symbols are synthetic names that ObjectFileMachO adds to the symbol table, most often seen with stripped binaries, based off of the function start addresses for all the functions - if a function has no symbol name, lldb adds one of these names. This change was originally landed via https://reviews.llvm.org/D132624
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Valentin Clement authored
Take into account the result passed as arguments when computing the pass object index. Reviewed By: jeanPerier Differential Revision: https://reviews.llvm.org/D138712
-
Jason Molenda authored
This reverts commit cd3091a8. This change crashes on macOS systems in formatters::StdlibCoroutineHandleSyntheticFrontEnd when it fails to create the `ValueObjectSP promise` and calls a method on it. The failure causes a segfault while running TestCoroutineHandle.py on the "LLDB Incremental" CI bot, https://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake/ This change originally landed via https://reviews.llvm.org/D132815
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Jason Molenda authored
The changes in https://reviews.llvm.org/D138612 cause a testsuite failure on Darwin systems in TestCPPAccelerator.py, first flagged by the "LLDB Incremental" CI bot. https://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake/ with the specific failure text appended to the phabracator. This reverts commit c3c423b6.
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Jakub Kuderski authored
-
Martin Storsjö authored
This does things in the same way as D137168 / a3567824 and D101173 / 4fb0aaf0 did for aarch64. This adds a C implementation of __kmp_invoke_microtask in the same way as the fallback C implementation in z_Linux_util.cpp. Both the existing C fallback used on arm linux, and this one added here, fail test/misc_bugs/many-microtask-args.c similarly (which could be considered as an XFAIL). Differential Revision: https://reviews.llvm.org/D138689
-
Martin Storsjö authored
fb947c35 introduced the gas macro COMMON, but it was only defined within ifdefs of the form: #if (KMP_OS_LINUX || KMP_OS_DARWIN || KMP_OS_WINDOWS) && KMP_ARCH_AARCH64 It was used, however, within other conditions: #if KMP_ARCH_ARM || KMP_ARCH_MIPS and: #if KMP_ARCH_PPC64 || KMP_ARCH_AARCH64 || KMP_ARCH_MIPS64 || KMP_ARCH_RISCV64 || KMP_ARCH_LOONGARCH64 Move the definition of the COMMON macro out from the current ifdef, so that it always gets defined (as it's only dependent on the target platform). This fixes building on ARM (and presumably all the other mentioned architectures except aarch64). Differential Revision: https://reviews.llvm.org/D138703
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Jakub Kuderski authored
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Tomas Matheson authored
This patch implements assembly support for the 2022 A-Profile Architecture extension FEAT_LRCPC3. FEAT_LRCPC3 is AArch64 only and introduces new variants of load/store instructions with release consistency ordering. Specs for individual instructions can be found here: https://developer.arm.com/documentation/ddi0602/2022-09/Base-Instructions/ This feature is optionally available from v8.2a and therefore not enabled by default. Contributors: Lucas Prates Sam Elliot Son Tuan Vu Tomas Matheson Differential Revision: https://reviews.llvm.org/D138579
-
Jakub Kuderski authored
This allows us to better canonicalize/clean-up code created by the Wide Integer Emulation pass. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D138606
-
Jakub Kuderski authored
This generalizes the existing fold for `ExtractOp(non-splat constant)` to work with vector results. The vector case is handled by extracting the subrange of attribute array. My main use it to clean up code generated by the Wide Integer Emulation pass. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D138690
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-
Kazu Hirata authored
This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
-