- Feb 05, 2024
-
-
Pierre van Houtryve authored
This just moves code around so the MIR pattern parsing logic is separated and reusable.
-
pvanhout authored
-
Dani authored
-
Pierre van Houtryve authored
Introduce Code Object V6 in Clang, LLD, Flang and LLVM. This is the same as V5 except a new "generic version" flag can be present in EFLAGS. This is related to new generic targets that'll be added in a follow-up patch. It's also likely V6 will have new changes (possibly new metadata entries) added later. Docs change are part of the follow-up patch #76955
-
Craig Topper authored
While working on -riscv-experimental-rv64-legal-i32, I noticed this missed optimization in our current codegen. This expands to SADDO/SSUBO+select while still in i32. These will be type legalized individually.
-
Brandon Wu authored
-
NAKAMURA Takumi authored
-
Kai Luo authored
Fixes https://github.com/llvm/llvm-project/issues/80557.
-
Craig Topper authored
This matches the codegen we get from type legalization without -riscv-experimental-rv64-legal-i32.
-
Aiden Grossman authored
A recent comment modified the job to only run on the main branch, but the formatting was slightly off, causing the job to not run. This patch fixes the formatting so the job will run as expected.
-
Chia authored
-
Shengchen Kan authored
llvm-issue: https://github.com/llvm/llvm-project/issues/68810
-
NAKAMURA Takumi authored
* `getFunctionBitmap()` stores not `std::vector<uint8_t>` but `BitVector`. * `CounterMappingContext` holds `Bitmap` (instead of the ref of bytes) * `Bitmap` and `BitmapIdx` are used instead of `evaluateBitmap()`. FIXME: `InstrProfRecord` itself should handle `Bitmap` as `BitVector`.
-
Anton Korobeynikov authored
Add github workflow that checks if a private email address was used to contribute to the repo and warn in this case (#80514) Following the Discourse discussion, warn in case of a private email address was used in a PR.
-
Sheng authored
-
ZijunZhaoCCK authored
Followup for https://github.com/llvm/llvm-project/pull/75373 1. Make this feature not just available for android, but everyone. 2. Correct some target triples. 3. Add opencl to the environment type list.
-
Craig Topper authored
If we have a shifted mask, we may be able to reduce the load width to the width of the non-zero part of the mask and use an offset to the base address to remove the srl. The offset is given by C+trailingzeros(ShiftedMask). Then we add a final shl to restore the trailing zero bits. I've use the ARM test because that's where the existing (and (srl (load))) tests were. The X86 test was modified to keep the H register. -
Craig Topper authored
Replace calls to getShiftAmountTy+getConstant with getShiftAmountContant.
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Kazu Hirata authored
-
NAKAMURA Takumi authored
* Revise instructions for regeneration, not to create executables. * Add instructions to regenerate both object files and test vectors (except for `mcdc-general-none.proftext`) * Reformat
-
Craig Topper authored
-
Craig Topper authored
-
rmarker authored
The RTBS_None option in Clang-format avoids breaking after a short return type. However, there was an issue with the behaviour in that it wouldn't take the leading indentation of the line into account. This meant that the behaviour wasn't applying when intended. In order to address this situation without breaking the existing formatting, RTBS_None has been deprecated. In its place are two new options for AlwaysBreakAfterReturnType. The option RTBS_Automatic will break after the return type based on PenaltyReturnTypeOnItsOwnLine. The option RTBS_ExceptShortType will take the leading indentation into account and prevent breaking after short return types. This allows the inconsistent behaviour of RTBS_None to be avoided and users to decide whether they want to allow breaking after short return types or not. Resolves #78010
-
Dave Lee authored
The implementation of `FormatCache::Entry &FormatCache::GetEntry(ConstString)` is effectively a duplication of `std::map::operator[]`. This change deletes `GetEntry` and replaces its use with `operator[]`.
-
Craig Topper authored
-
Marius Brehler authored
To register the conversion the autogenerated function `registerSCFToEmitC()` calls `createSCFToEmitC()`, which itself is also autogenerated. The removed function, however, isn't used in the upstream codebase.
-
- Feb 04, 2024
-
-
Simon Pilgrim authored
-
Simon Pilgrim authored
-
Freddy Ye authored
This patch will also expand supports for attribute/target, while the priority of newly supported ISAs will be set to zero.
-
Yingwei Zheng authored
This patch replaces min/max intrinsic with one of its operands if possible. Alive2: https://alive2.llvm.org/ce/z/LoHfYf Fixes #75155.
-
Craig Topper authored
Previously we stored MachineInstr which restricted the implementation to only handle operand 0. The TH_LWD instruction has two sign extended destinations.
-
Congcong Cai authored
table.grow is valid with type `[t i32] -> [i32]`. Fixes: #79966.
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Kazu Hirata authored
-