- Jun 13, 2022
-
-
David Truby authored
This patch allows the same implicit conversions for vector-scalar operations in SVE that are allowed for NEON. Depends on D126377 Reviewed By: c-rhodes Differential Revision: https://reviews.llvm.org/D126380
-
Nikolas Klauser authored
Reviewed By: EricWF, #libc Spies: sstefan1, libcxx-commits, mgorny Differential Revision: https://reviews.llvm.org/D127577
-
Guillaume Chatelet authored
-
Lucas Prates authored
Reverting change due to test failure. This reverts commit 6119053d.
-
David Sherwood authored
Introduce a lambda function so that we remove a lot of code duplication. Differential Revision: https://reviews.llvm.org/D127493
-
zhongyunde authored
According D125377, we order STP Q's by ascending address. While on some targets, paired 128 bit loads and stores are slow, so the STP will split into STRQ and STUR, so I hope these stores will also be ordered. Also add subtarget feature ascend-store-address to control the aggressive order. Reviewed By: dmgreen, fhahn Differential Revision: https://reviews.llvm.org/D126700
-
Lucas Prates authored
Currently the a AAPCS compliant frame record is not always created for functions when it should. Although a consistent frame record might not be required in some cases, there are still scenarios where applications may want to make use of the call hierarchy made available trough it. In order to enable the use of AAPCS compliant frame records whilst keep backwards compatibility, this patch introduces a new command-line option (`-mframe-chain=[none|aapcs|aapcs+leaf]`) for Aarch32 and Thumb backends. The option allows users to explicitly select when to use it, and is also useful to ensure the extra overhead introduced by the frame records is only introduced when necessary, in particular for Thumb targets. Reviewed By: efriedma Differential Revision: https://reviews.llvm.org/D125094
-
Lucas Prates authored
Simiarly to what's done on both ARM's and AArch64's frame lowering code, this updates Thumb1FrameLowering to use the FrameDestroy Machine Instruction flag to identify instructions inserted as part of the epilog instead of relying on assumptions about specific machine instructions. Reviewed By: efriedma Differential Revision: https://reviews.llvm.org/D126285
-
Adrian Kuegel authored
-
Nikita Popov authored
When pushing an operation across a phi node, we should avoid doing so across a loop backedge. This is generally non-profitable, because it does not reduce the number of times the operation is executed, and could lead to an infinite combine loop. The code was already guarding against this, but using an insufficiently strong condition, which did not cover the case where the operation was originally outside the loop (in which case the transform moves the operation from outside the loop into the loop, which is particularly undesirable). Differential Revision: https://reviews.llvm.org/D127499
-
Nikita Popov authored
With opaque pointers, we end up merging these GEPs and dropping the inrange attribute (in the last two cases). This did not happen previously, because typed pointers use less powerful GEP folding logic. I'm a bit unsure whether this is something we need to be concerned about or not. I believe that generally our stance is that we should perform folds even if this requires losing poison-generating flags like inrange. We can either a) accept this as-is, b) try to inhibit folding if it requires dropping inrange or c) try to fold to poison if we know that inrange is going to be violated. For now, we accept it as-is. Differential Revision: https://reviews.llvm.org/D127503
-
David Green authored
-
Nuno Lopes authored
Including 'br undef', store/load to undef pointers. Plus some cosmetics: select undef, insertvalue undef -> poison. Recommit c1b61030 with fix.
-
Guillaume Chatelet authored
-
Maksim Panchenko authored
On 64-bit X86, 0x66 operand-size override prefix will change the size of the instruction operand, e.g. from 32 bits to 16 bits, but it will not modify the size of the displacement operand used for memory addressing, which will always be 32 bits. Reviewed By: skan, rafauler Differential Revision: https://reviews.llvm.org/D126726
-
owenca authored
Also add two deprecated options as comments back to Format.h.
-
Fangrui Song authored
-
Craig Topper authored
-
Kazushi (Jam) Marukawa authored
Transforms/SROA/vector-promotion-different-size.ll causes errors. This reverts commit c1b61030.
-
Kazu Hirata authored
Identified with modernize-use-default-member-init.
-
Kazu Hirata authored
Identified with modernize-use-default-member-init.
-
Kazu Hirata authored
Identified with modernize-use-default-member-init.
-
Kazu Hirata authored
Identified with modernize-use-default-member-init.
-
Petr Hosek authored
This is the idiomatic way to handle include directories in CMake. Differential Revision: https://reviews.llvm.org/D122614
-
Jez Ng authored
Just matter of enabling the config option. (Also changed the platform of the input test file to macOS, since that's the default that we specify in the `%lld` substitution. The conflict was causing errors when linking with LTO.) Reviewed By: #lld-macho, thakis Differential Revision: https://reviews.llvm.org/D127600
-
Jez Ng authored
This reverts commit d941d597. Differential Revision: https://reviews.llvm.org/D122258
-
Hubert Tong authored
https://reviews.llvm.org/D127583 removed the only use of this variable and broke builds with warnings-as-errors.
-
Nikolas Klauser authored
D125496 changed the string layout on windows. Change `__is_long_` and `__size_` back to using `unsigned char` to fix the issue. Reviewed By: Mordante, #libc Spies: jloser, libcxx-commits, ayzhao Differential Revision: https://reviews.llvm.org/D127566
-
Nuno Lopes authored
-
Simon Pilgrim authored
This patch allows SimplifyDemandedBits to call SimplifyMultipleUseDemandedBits in cases where the source operand has other uses, enabling us to peek through the shifted value if we don't demand all the bits/elts. This helps with several of the regressions from D125836
-
Nuno Lopes authored
This change is cosmetic, as these are dummy values that are not observable, but it gets us closer to removing undef. NFC
-
Craig Topper authored
These methods don't access any state from RISCVInstrInfo. Make them free functions in the RISCV namespace. Reviewed By: frasercrmck Differential Revision: https://reviews.llvm.org/D127583
-
Kazu Hirata authored
We can erase an item in DenseMap without checking its membership first.
-
Kazu Hirata authored
-
Florian Hahn authored
-
- Jun 12, 2022
-
-
Florian Hahn authored
The test should use the GEP for the store, so it is not dead.
-
Mehdi Amini authored
This reverts commit 2d2da259. This breaks MLIR integration test (JIT crashing), reverting in the meantime.
-
Simon Pilgrim authored
If the LHS/RHS selection operands can be cheaply concatenated back together then replace 2 x 128-bit selection nodes with 1 x 256-bit node Addresses the regression introduced in the bug fix from rGd5af6a38 REAPPLIED with for bug identified in rGea8fb3b6
-
Simon Pilgrim authored
Reduced from test case reported by @srj for the concatenation of VSELECT/BLENDV nodes
-