- Sep 21, 2022
-
-
Kazu Hirata authored
With the recent addition of new parameter MergeAttributes (D134117), callers need to specify several default parameters before getting to specify the new parameter. This patch reorders the parameters so that callers do not have to specify as many default parameters. Differential Revision: https://reviews.llvm.org/D134125
-
David Green authored
This patch enables the LSLFast feature for Cortex-A76, Cortex-A77, Cortex-A78, Cortex-A78C, Cortex-A710, Cortex-X1, Cortex-X2, Neoverse N1, Neoverse N2, Neoverse V1 and the Neoverse 512TB pseudo-cpu, in-line with the software optimization guides for those CPUs. Differntial revision: https://reviews.llvm.org/D134273
-
- Sep 20, 2022
-
-
Chris Bieneman authored
Having the flags only pass through if you're using the dxc-driver means that the clang driver doesn't work for HLSL, which is undesirable. This change switches to instead passing flags based on the language mode similar to how OpenCL does it. This allows the clang driver to be used for HLSL source files as well. Reviewed By: python3kgae Differential Revision: https://reviews.llvm.org/D133958
-
Ben Dunbobbin authored
This reverts commit 2e6c5085. This caused failures on windows bots: - https://lab.llvm.org/buildbot/#/builders/216/builds/10030 - https://ci.chromium.org/ui/p/fuchsia/builders/toolchain.ci/clang-windows-x64/b8802513693562827489/overview
-
Simon Pilgrim authored
Alive2: https://alive2.llvm.org/ce/z/sZ6wwS As detailed on Issue #57635 and #37628 - for unsigned comparisons, we can compare prior to a decrement iff the value is known never to be zero. Differential Revision: https://reviews.llvm.org/D134172
-
Chris Bieneman authored
This just adds the clang headers into a source group so that they get collected and added into generated IDE projects.
-
Amara Emerson authored
I'm not sure why the SEXT_INREG was gated on a bitwidth check of the mask vs element size. This fixes a miscompile in chromium's skia library. Differential Revision: https://reviews.llvm.org/D134236
-
Jakub Kuderski authored
Introduces a simple framework for runtime tests of the wide integer emulation. In these tests, we are only interested in checking that both wide and narrow calculation produce the same results, and do not check for exact results. This allows us to cover more of the input space, as we do not have to hardcode each of the expected outputs. Introduce common helper functions to check the results, print a message on mismatch, and sample the input space. Implement runtime comparrison tests for `arith.muli` and `arith.shrui`. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D134184
-
Jakub Kuderski authored
The new test cases focus on known edge cases in the current implementation. Specifically, we check for low (0, 1), mid (7, 8, 9) and high (15) shift amounts with i16 operands. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D134182
-
Jakub Kuderski authored
The new test pass allows for running wide integer emulation conversion within specified functions only. I intend to use it in integration tests in a way that allows me print both original and emulated results in the same format, or even compare both results at runtime and print on mismatch only. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D134120
-
Louis Dionne authored
This is a breaking change. If you were passing one of those three runtimes in LLVM_ENABLE_PROJECTS, you need to start passing them in LLVM_ENABLE_RUNTIMES instead. The runtimes in LLVM_ENABLE_RUNTIMES will start being built using the "bootstrapping build" instead, which means that they will be built using the just-built Clang. This is usually what you wanted anyway. If you were using LLVM_ENABLE_PROJECTS=all with the explicit goal of building these three runtimes, you can now use LLVM_ENABLE_RUNTIMES=all and these runtimes will be built using the bootstrapping build. Differential Revision: https://reviews.llvm.org/D132480
-
Eric Li authored
Providing access to the mapping of annotations allows test helpers to be expressive by using the annotations as expectations. For example, a matcher could verify that all annotated points were matched by a matcher, or that an refactoring surgically modifies specific ranges. Differential Revision: https://reviews.llvm.org/D134072
-
Joe Nash authored
Due to the encoding changes in GFX11, we had a hack in place that disables the use of VGPRs above 128. This patch removes the need for that hack. We introduce a new register class VGPR_32_Lo128 which is used for 16-bit operands of VOP1, VOP2, and VOPC instructions. This register class only has the low 128 VGPRs, but is otherwise identical to VGPR_32. Therefore, 16-bit VOP1, VOP2, and VOPC instructions are correctly limited to use the first 128 VGPRs, while the other instructions can freely use all 256. We introduce new pseduo-instructions used on GFX11 which have the suffix t16 (True 16) to use the VGPR_32_Lo128 register class. Reviewed By: foad, rampitec, #amdgpu Differential Revision: https://reviews.llvm.org/D133723 -
Jeff Bailey authored
Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D134256
-
Jeff Bailey authored
Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D134255
-
Florian Hahn authored
The definition and uses have been removed a while ago. Clean up the unused declaration.
-
Vy Nguyen authored
This arg is undocumented but from looking at the code + experiment, it's used to add additional DYLD_ENVIRONMENT load commands to the output. Differential Revision: https://reviews.llvm.org/D134058
-
Matt Arsenault authored
This assert guards the same assertion inside getTypeStoreSizeInBits
-
Matt Arsenault authored
Pass this through now that isDereferenceableAndAlignedPointer has access to this.
-
Simon Pilgrim authored
-
Markus Böck authored
-
Simon Pilgrim authored
-
Caroline Concatto authored
This patch removes the intrinsic aarch64.sve.ldN from tablegen in favour of using arch64.sve.ldN.sret. Depends on: D133023 Differential Revision: https://reviews.llvm.org/D133025
-
gonglingqin authored
Thanks for @xry111's previous bug fixes. See https://github.com/loongson/llvm-project/pull/1 for more details. Differential Revision: https://reviews.llvm.org/D133478
-
Djordje Todorovic authored
The bug reported on the [0] has been fixed. The issue was we have not checked if the global variables that represent cttz tables was constant. There is a new negative test added in negative-lower-table-based-cttz.ll that represents this. [0] https://reviews.llvm.org/rGdf868edee561eb973edd85ec9df41c67aa0bff6b
-
Nikita Popov authored
-
Blue Gaston authored
[Sanitizer] Bump macOS deployment target for sanitizer unit test binary to support C++17 requirements. This patch fixes a test failure on Apple caused by changing standard to c++17. sanitizer_allocator_test.cpp requires language features introducied in 10.13 for c++17. After initial investigation, it was not clear how to add this flag to a single file: https://reviews.llvm.org/D133878 Becuase of this, we have upped the min version of this test suite to 10.13, the min version necessary to support necessary language features. We felt this was a better option than upping the min version of the product to support a single test. We are raising deployment target for a single test suite, rather than the product. Differential Revision: https://reviews.llvm.org/D134091 rdar://98737270
-
Tim Northover authored
AArch64 MachO has a compact unwind format where most functions' unwind info can be represented in just 4 bytes. But this cannot represent any asynchronous CFI function, so it's essentially disabled when that's used. This is a large code-size hit that we'd rather not take unless explicitly requested.
-
Tim Northover authored
-
Martin Storsjö authored
This was missed in 365d0a5c.
-
Simon Pilgrim authored
-
Dmitri Gribenko authored
-
David Spickett authored
This happens if the type is described elsewhere in target xml as a <flags> or <struct>. Also hardcode the function names into the log messages because if you use __FUNCTION__ in a lambda you just get "operator()". Reviewed By: clayborg Differential Revision: https://reviews.llvm.org/D134043
-
David Spickett authored
This is the first step to being able to handle non trivial types in the union. info_type effects the lifetime of the objects in the union, so making it private means we know you have to call one of the Set<...> functions to change it. Reviewed By: clayborg Differential Revision: https://reviews.llvm.org/D134039
-
Dmitry Polukhin authored
Update ReleaseNotes about a crash fix (Issue 53628) Test Plan: none Differential Revision: https://reviews.llvm.org/D134112
-
David Spickett authored
So that the XML isn't one giant line. Which wasn't a problem for lldb but was for me trying to troubleshoot it using the logs. It now looks like: ``` <?xml version="1.0"?> <target version="1.0"> <architecture>aarch64</architecture> <feature> <...> <reg name="fpcr" .../> </feature> </target> ``` Reviewed By: labath Differential Revision: https://reviews.llvm.org/D134035 -
Caroline Concatto authored
Remove from the function name the predicate type and pointer type, because: The predicate type in the name(nxvNi1) can be deduced from the overloaded element count(nxvNEltTy). The pointer type(p0EltTy) can be deduced from the overloaded element type. Differential Revision: https://reviews.llvm.org/D133023
-
John McIver authored
The package distutils is deprecated and removal is planned for Python 3.12. All calls to distutils.spawn.find_executable are replaced with shutil.which. Differential Revision: https://reviews.llvm.org/D134015
-
Jean Perier authored
Allocatable assignments were triggering lowering to clean-up any WHERE mask temporaries, even if some assignments where left in the WHERE construct. This is because allocatable assignments lowering was being passed the wrong statement context. Fix this by selecting the where/forall statement context instead of a local one when there is one. Differential Revision: https://reviews.llvm.org/D134197
-