- Dec 10, 2022
-
-
Gulfem Savrun Yeniceri authored
This reverts commit bcc4470b.
-
Gulfem Savrun Yeniceri authored
This reverts commit 3e3ae76d.
-
Youling Tang authored
Fix syscall clone argument passing order, also `call fn(arg)` should return, change `jr $a5`(jirl $zero, $a5, 0) to `jirl $ra, $a5, 0`. Reviewed By: SixWeining Differential Revision: https://reviews.llvm.org/D139619
-
Youling Tang authored
Enable safestack on loongarch64. Some test cases will fail on loongarch, it will be fixed in glibc, Links: https://sourceware.org/pipermail/libc-alpha/2022-November/143641.html Reviewed By: #sanitizers, SixWeining, vitalybuka Differential Revision: https://reviews.llvm.org/D139494
-
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
-
gonglingqin authored
Add testcases calling macros to the implemented privileged intrinsics as discussed in D139288. The intrinsics involved include ibar, dbar, break, syscall, and CRC check intrinsics. Differential Revision: https://reviews.llvm.org/D139397
-
Konstantin Varlamov authored
Add a link to an in-progress patch.
-
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
-
Austin Kerbow authored
Based on experiments this does better with target small GEMM kernels. Reviewed By: jrbyrnes Differential Revision: https://reviews.llvm.org/D139227
-
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
Extend D139688 with the signed version of the extended multiplication op. Add conversion to the SPIR-V and LLVM dialects. This was originally proposed in: https://discourse.llvm.org/t/rfc-arith-add-extended-multiplication-ops/66869. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D139743
-
Dominic Chen authored
Differential Revision: https://reviews.llvm.org/D122761
-
Craig Topper authored
Wraps a long line to 80 columns.
-
Yeting Kuo authored
bswap is an unary operation. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D139751
-
Craig Topper authored
The flags, initialization of the flags, and the getter methods for features defined in RISCV.td can be generated by TableGen. Reviewed By: reames Differential Revision: https://reviews.llvm.org/D139746
-
Peiming Liu authored
Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D139744
-
LLVM GN Syncbot authored
-
Abraham Corea Diaz authored
Adds a clang-tidy check for the incorrect use of `empty()` on a container when the result of the call is ignored. Authored-by:
Abraham Corea Diaz <abrahamcd@google.com> Co-authored-by:
Denis Nikitin <denik@google.com> Reviewed By: cjdb Differential Revision: https://reviews.llvm.org/D128372
-
Ryan Prichard authored
Use the same approach as used in libunwind/include/unwind_arm_ehabi.h (D89570) and GCC's unwind-arm-common.h, so that _Unwind_Exception can be used both with and without the struct tag. Fixes a build failure in libcxxabi/test/forced_unwind1.pass.cpp. Reviewed By: danielkiss Differential Revision: https://reviews.llvm.org/D139503
-
Ryan Prichard authored
Android devices frequently don't have enough memory to run this test. e.g. On the API 33 x86-64 emulator with 2GiB RAM, the test triggers the OOM Killer, the device reboots, and then `adb shell` exits with status 0 and no output. Reviewed By: danalbert, #libc, Mordante Differential Revision: https://reviews.llvm.org/D139502
-
Ryan Prichard authored
The current Android headers don't appear to work with modules. We may want to fix them eventually. Reviewed By: #libc, Mordante Differential Revision: https://reviews.llvm.org/D139498
-
Ryan Prichard authored
__ANDROID__ is a built-in compiler macro, but __BIONIC__ is defined by the libc header. Reviewed By: #libc_abi, compnerd Differential Revision: https://reviews.llvm.org/D137128
-
Stefan Pintilie authored
The test remove-undef-fragment.ll fails on the PPC bots. I've disabled the test everywhere except X86 to allow for the investigation of the issue.
-
SaeHie Park authored
Remove the double 'the' in the comment for 'getInsertionBlock()'. Reviewed By: jpienaar, rriddle Differential Revision: https://reviews.llvm.org/D139605
-
Jakub Kuderski authored
Add conversion to the SPIR-V and LLVM dialects. This was originally proposed in: https://discourse.llvm.org/t/rfc-arith-add-extended-multiplication-ops/66869. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D139688
-
Michael Jones authored
This is a class intended to improve errno handling for internal functions by allowing functions to return their result and error status instead of setting errno. This specific class will be used for strtointeger and (in a followup patch) strtofloat. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D133163
-
Johannes Doerfert authored
Similar to dominance reasoning, we cannot use CFG reachability if the instructions might be executed by different threads. A follow up will improve our sensitivity for situations when it is OK to use graph reasoning.
-
Arthur Eubanks authored
This reverts commit c9a6713b. Causes crashes, see D136554.
-
Florian Hahn authored
When creating SCEV expressions for ZExt, there's quite a bit of reasoning done and in many places the reasoning in turn will try to create new SCEVs for other ZExts. This can have a huge compile-time impact. The attached test from #58402 takes an excessive amount of compile time; without the patch, the test doesn't complete in 1500+ seconds, but with the patch it completes in 1 second. To speed up this case, cache created ZExt expressions for given (SCEV, Ty) pairs. Caching just ZExts is relatively straight-forward, but it might make sense to extend it to other expressions in the future. This has a slight positive impact on CTMark: * O3: -0.03% * ReleaseThinLTO: -0.03% * ReleaseLTO-g: 0.00% https://llvm-compile-time-tracker.com/compare.php?from=bf9de7464946c65f488fe86ea61bfdecb8c654c1&to=5ac0108553992fb3d58bc27b1518e8cf06658a32&stat=instructions:u The patch also improves compile-time for some internal real-world workloads where time spent in SCEV goes from ~300 seconds to ~3 seconds. There are a few cases where computing & caching the result earlier may return more pessimistic results, but the compile-time savings seem to outweigh that. Fixes #58402. Reviewed By: mkazantsev Differential Revision: https://reviews.llvm.org/D137505
-
Kai Nacke authored
The flags, initialization of the flags, and the getter methods for features defined in SystemZFeatures.td can be generated by TableGen. Reviewed By: uweigand Differential Revision: https://reviews.llvm.org/D139738
-
Tom Eccles authored
Related to https://reviews.llvm.org/D138675
-
Philip Reames authored
We can consolidate code and clarify edge case behavior at the same time. There are two functional differences here. First, I remove the ResVT handling, and always use the reduction element type. This appears to be dead code. There's no test coverage, and this code doesn't need to account for scalar type legalization anyways. Second, if the VL happens to be known non-zero, we can avoid passing through start. This is mostly needed to allow reuse of the existing code; I don't consider it interesting as an optimization on it's own. Differential Revision: https://reviews.llvm.org/D139733
-
Ariel Burton authored
We identify epilogue code by looking for instructions tagged with FrameDestroy. A function may have more than one epilogue, e.g., because of early returns or code duplicated during optimization. We need only track the current block, and emit epilogie_begin at most once per block. We reduce the number of entries in the line table by combining epilogue_begin with other flags instead of emitting a separate entry just for epilogue_begin. Reviewed By: dblaikie, aprantl Differential Revision: https://reviews.llvm.org/D133376
-
Steven Wu authored
Remove unnecessary header from CodeView unittest. The unused PDB header include has a dependency on Object -> Bitcode -> intrinsics_gen, which will fail the module build because the module needed to build the tests rely on the intrinsics gen. Reviewed By: aprantl Differential Revision: https://reviews.llvm.org/D139724
-
Tom Eccles authored
clang -cc1 accepts -Ofast. I did not add it to flang -fc1 because this seems redundant because the compiler driver will always resolve -Ofast into -O3 -ffast-math (I added a test for this). -menable-infs is removed from the frontend-forwarding test because if all of the fast-math component flags are present, these will be resolved into the fast-math flag. Instead -menable-infs is tested in the fast-math test. Specifying -ffast-math to the compiler driver causes linker invocations to include crtfastmath.o. RFC: https://discourse.llvm.org/t/rfc-the-meaning-of-ofast/66554 Differential Revision: https://reviews.llvm.org/D138675
-
Paul Robinson authored
Part of the project to eliminate special handling for triples in lit expressions.
-
Chris Bieneman authored
Putting these under a folder allows the CMake integraiton for IDEs to sort the per-suite targets under a folder nested under the clang tests.
-