- Oct 27, 2023
-
-
serge-sans-paille authored
It's a drop in the ocean considering the lack of documentation of our diagnostics, but it's a start. Co-authored-by:serge-sans-paille <sguelton@mozilla.com>
-
Piotr Zegar authored
Improve diagnostic message to be more straight forward, fix handling of casting to non-void and add new option AllowCastToVoid to control casting to void behavior. Closes #66570
-
Amara Emerson authored
-
Owen Pan authored
-
David Green authored
It needs to be skipping over debug instructions, whilst not counting them in the MaxLookupDist.
-
David Pagan authored
Fixed assertion failure Basic Block in function 'main' does not have terminator! label %land.end caused by premature setting of CodeGenIP upon entry to emitTargetDataCalls, where subsequent evaluation of logical expression created new basic blocks, leaving CodeGenIP pointing to the wrong basic block. CodeGenIP is now set near the end of the function, just prior to generating a comparison of the logical expression result (from the if clause) which uses CodeGenIP to insert new IR.
-
Andrzej Warzyński authored
Adds an end-to-end test for `vector.contract` that targets SVE (i.e. scalable vectors). Note that this requires lifting the restriction on `vector.outerproduct` (to which `vector.contract` is lowered to) that would deem the following as invalid by the Op verifier (*): ``` vector.outerproduct %27, %28, %26 {kind = #vector.kind<add>} : vector<3xf32>, vector<[2]xf32> ``` This is indeed valid as the end-to-end test demonstrates (at least when compiling for SVE). -
Mehdi Amini authored
-
Aart Bik authored
Implemented some TODOs and removed unlikely ones. Comment cleanup
-
Tai Ly authored
Add tosa-to-linalg-pipeline that calls the function addTosaToLinalgPasses, so it gets tested in core also added tests in tosa-to-linalg-pipeline.mlir Signed-off-by:Tai Ly <tai.ly@arm.com>
-
Adrian Prantl authored
-
Craig Topper authored
This seems to be causing issues with using overloaded RVV intrinsics that take scalar operands. If the scalar type passed in doesn't exactly match the element type. I blindly copied this feature from SVE. Since no one has asked for it I'd prefer to remove it to make overloaded intrinsics work as expected. By removing the lax conversions, types declared with __attribute__((riscv_rvv_vector_bits(__riscv_v_fixed_vlen))) can only ever be used like their underlying RVV builtin type. No lax conversions to other element sizes with the same LMUL. Fixes #64404.
-
Alex Richardson authored
There are many tests that specify a target triple/CPU flags but no DataLayout which can lead to IR being generated that has unusual behaviour. This commit attempts to use the default DataLayout based on the relevant flags if there is no explicit override on the command line or in the IR file. One thing that is not currently possible to differentiate from a missing datalayout `target datalayout = ""` in the IR file since the current APIs don't allow detecting this case. If it is considered useful to support this case (instead of passing "-data-layout=" on the command line), I can change IR parsers to track whether they have seen such a directive and change the callback type. Differential Revision: https://reviews.llvm.org/D141060
-
Alex Richardson authored
I was writing a test that included this error and noticed the spurios newline that made writing the test more awkward.
-
Piotr Zegar authored
Add StrictMode option that controls behavior whatever warnings are emitted for casts on non-polymorphic types. Fixes: #69414
-
Brad Smith authored
- FreeBSD removed big-endian arm with 12.0. - OpenBSD never had big-endian arm support. I added it just in case, but it has never been used. - Remove sparcel bits. It was sprinkled in a few places but it will never be a thing. - Remove 32-bit sparc bits for FreeBSD. FreeBSD has never had 32-bit sparc support. - Remove sparc64 IAS test as support was enabled across the board awhile ago.
-
Benjamin Kramer authored
Avoids unused variable warnings in release builds. NFCI.
-
Rainer Orth authored
As discussed in [[Driver] Link Flang runtime on Solaris](https://github.com/llvm/llvm-project/pull/65644), `clang -r` incorrectly passes both `-Bdynamic` and `-e _start` to `ld` which lets the linker choke. This patch fixes this, omitting `-Bdynamic` completely which is the linker default. Tested on `amd64-pc-solaris2.11` and `sparcv9-sun-solaris2.11`.
-
Amara Emerson authored
This change has virtually no code size regressions on the llvm test suite (+ SPECs) while having these improvements (measured with -Os on Darwin arm64): External/S.../CFP2006/450.soplex/450.soplex 214024.00 213920.00 -0.0% External/S...7speed/641.leela_s/641.leela_s 93412.00 93348.00 -0.1% External/S...17rate/541.leela_r/541.leela_r 93412.00 93348.00 -0.1% MultiSourc.../Applications/JM/lencod/lencod 426044.00 425748.00 -0.1% MultiSourc...rks/mediabench/gsm/toast/toast 20436.00 20416.00 -0.1% MultiSourc...ench/telecomm-gsm/telecomm-gsm 20436.00 20416.00 -0.1% MultiSourc...Prolangs-C/assembler/assembler 16172.00 16156.00 -0.1% MultiSourc...nch/mpeg2/mpeg2dec/mpeg2decode 35332.00 35256.00 -0.2% SingleSour...Adobe-C++/stepanov_abstraction 6904.00 6888.00 -0.2% External/SPEC/CINT2000/254.gap/254.gap 366060.00 365132.00 -0.3% MultiSourc...-ProxyApps-C++/PENNANT/PENNANT 79688.00 79484.00 -0.3% External/S...NT2006/464.h264ref/464.h264ref 352044.00 351132.00 -0.3% SingleSour...arks/Adobe-C++/functionobjects 15524.00 15480.00 -0.3% SingleSour...arks/Adobe-C++/stepanov_vector 10728.00 10696.00 -0.3% SingleSour...ks/Misc-C++/stepanov_container 16900.00 16848.00 -0.3% MultiSource/Applications/oggenc/oggenc 124184.00 123780.00 -0.3% SingleSour...tout-C++/Shootout-C++-wordfreq 7060.00 7036.00 -0.3% MultiSourc...ity-rijndael/security-rijndael 8976.00 8936.00 -0.4% MultiSource/Benchmarks/McCat/18-imp/imp 9816.00 9772.00 -0.4% SingleSour...chmarks/Misc-C++/stepanov_v1p2 1772.00 1764.00 -0.5% MultiSourc...iabench/g721/g721encode/encode 5492.00 5464.00 -0.5% MultiSourc...rks/McCat/03-testtrie/testtrie 1364.00 1344.00 -1.5% SingleSour.../execute/GCC-C-execute-pr42833 400.00 364.00 -9.0% Doing so also prevents a regression described in https://reviews.llvm.org/D143624 Differential Revision: https://reviews.llvm.org/D149918
-
Jessica Clarke authored
These are an artifact of how types are structured but serve little purpose, merely showing that the type is sugared in some way. For example, ElaboratedType's existence means struct S gets printed as 'struct S':'struct S' in the AST, which is unnecessary visual clutter. Note that skipping the second print when the types have the same string matches what we do for diagnostics, where the aka will be skipped.
-
Jinsong Ji authored
https://github.com/llvm/llvm-project/pull/69824 added libc build, but missed the folder in ninja command, is causing failures. ninja: fatal: chdir to 'docs-libc-html' - No such file or directory ninja: Entering directory `docs-libc-html'
-
Aart Bik authored
This no longer tests a required feature.
-
Ralf Jung authored
Follow-up to #66579: while implementing those semantics in Miri I realized there's a special case to be considered in truncating float casts.
-
Youngsuk Kim authored
Opaque pointer cleanup effort. NFC.
-
Craig Topper authored
Even though we don't have W instructions for them. This treats them the same as other binary operators.
-
LLVM GN Syncbot authored
-
Aart Bik authored
Various TODOs had been added that actually removed the actual test. This puts the CHECK test backs and removes the TODOs that have no immediate plans.
-
Alpha Abdoulaye authored
Reland https://reviews.llvm.org/D158124 Fixed `-fpermissive` error reported by gcc only.
-
Nishant Patel authored
-
Amara Emerson authored
The pre-index matcher just needs some small heuristics to make sure it doesn't cause regressions. Apart from that it's a simple change, since the only difference is an immediate operand of '1' vs '0' in the instruction.
-
Matt Harding authored
Some textual editing errors got through this pull request that was merged a few weeks ago: https://github.com/llvm/llvm-project/pull/65876 This patch clears up the unintentional duplicated line, and white-space at the end of the lines.
-
Louis Dionne authored
I came across those typedefs while working on another change, and I noticed they were just never used.
-
Ilya Tocar authored
If we know that index is larger than SSO size, we know that we can't be in SSO case, and should access the pointer. This removes extra check from operator[] for inputs known at compile time to be larger than SSO.
-
Abhishek Varma authored
-- In order to compute maximum, we should always initialise the result with the largest negative value possible for the concerned element type, instead of the smallest. -- This commit essentially adds a fix to this issue. Signed-off-by:Abhishek Varma <abhishek@nod-labs.com>
-
Daniel Grumberg authored
For declarations declared inside a macro, e.g.: ``` `#define MAKE_FUNC(suffix) \ /// Not selected doc comment \ void func_##suffix(void) { } /// Doc comment foo MAKE_FUNC(foo) /// Doc comment bar MAKE_FUNC(bar) ```` Prefer the doc comment at the expansion site instead of the one defined in the macro. rdar://113995729 -
David Spickett authored
Since https://github.com/llvm/llvm-project/pull/68052 this has been failing. https://lab.llvm.org/buildbot/#/builders/219/builds/6545 Follow up changes have not fixed it, XFAIL while I debug it.
-
Kiran Chandramohan authored
These are copies of tests in flang/test/Lower/OpenMP/FIR.
-
Aart Bik authored
-
- Oct 26, 2023
-
-
Aaron Ballman authored
Fixes https://github.com/llvm/llvm-project/issues/65858
-
Aviad Cohen authored
linalg::CopyOp is much more generic and useful to promote buffers. In addition, this is linalg transform and makes more sense to use linalg operations when possible.
-