- Nov 17, 2023
-
-
Florian Hahn authored
Created using spr 1.3.4
-
Florian Hahn authored
Created using spr 1.3.4 [skip ci]
-
Florian Hahn authored
-
Alex Langford authored
-
Louis Dionne authored
-
Craig Topper authored
We need to make sure the RISCVTargetMachine is also deleted.
-
androm3da authored
-
Maksim Levental authored
-
Matthias Braun authored
Consistently add `branch_weights` metadata in any condition branch created by `LoopVectorize.cpp`: - Will only add metadata if the original loop-latch branch had metadata assigned. - Most checks should rarely trigger so I am using a 127:1 ratio. - For the middle block we assume an equal distribution of modulo results.
-
Billy Zhu authored
Add initial support for DIExpression in LLVM dialect. Similar to LLVM IR, DI Expression is encoded as a list of uint64. The difference is that LLVM IR has helpers for understanding the expression (e.g. for verification and pretty printing), whereas the current support added by this PR treats the expression elements as opaque.
-
Craig Topper authored
This is an alternative to #71420 that handles i32 on RV64 safely by pre-promoting the pattern in DAG combine.
-
Craig Topper authored
We can use (ADDI (BSET X0, X), -1).
-
Kazu Hirata authored
This patch fixes: clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:609:23: error: 'describe' overrides a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override] clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:627:23: error: 'describe' overrides a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override]
-
Tarun Prabhu authored
Enable -rpath, -shared, and -static for the flang frontend. This brings it in line with clang. Fixes issue #65546.
-
Matthias Braun authored
Add `setBranchWeights` convenience function to ProfDataUtils.h and use it where appropriate.
-
Aiden Grossman authored
This reverts commit 0718c1a8. The test doesn't have the correct requires string apparently because it attempts to run on all the buildbots. Reverting until I have time to fix the test and reland it.
-
Aiden Grossman authored
This patch makes it so that specifying an invalid value for CMAKE_BUILD_TYPE is a fatal error. Having this simply as a warning has caused me (and probably others) a decent amount of headache. The check was present before, but was proposed to be modified to a warning in https://github.com/llvm/llvm-project/issues/60975 and changed to a warning in c75dbeda. This patch reenables that behavior to hopefully reduce frustration for people building LLVM in the common case while still allowing for alternative build types to be setup without needing to perform source modification through the addition of a CMake flag.
-
Aiden Grossman authored
I made a typo at some point while doing the subprocess implementation, trying to pop RIP from the stack. For whatever reason, this ends up as popq %rax after being JITed, which means we aren't properly preserving the value of %rdi. Regression test added. This fixes #72188.
-
Eric authored
This change adds the image used by the self-hosted Github Actions builders. In an attempt to make the transition simple, all of the different images share as much of the same state as possible, including packages, users, etc... This results in bigger images, but that shouldn't be a problem. That said, the refactorings caused the buildkite image to shrink by 100 MB. This change also renames all of the packages for consistency. Bots will have to be changed to use the new package names eventually. Again, docker-compose was used as the source of truth for defining argument. I have already pushed example images to ghcr.io/libcxx/<name>:testing
-
Craig Topper authored
Fixes #72433
-
Logikable authored
Rollforward of #69032, which was reverted in [63d19cfd](https://github.com/llvm/llvm-project/commit/63d19cfd853b0b4e374f40842ee388b0da5de36f). New: implemented changes in https://github.com/llvm/llvm-project/pull/69032#issuecomment-1809250162. Given the PassBuilder is how we expect users to register passes, the tutorial should reflect that.
-
Momchil Velikov authored
This reverts commit 13fe0386. May have broken an LLDB test https://lab.llvm.org/buildbot/#/builders/96/builds/48609
-
Balázs Kéri authored
The checker now displays one combined note tag for errno-related and "case"-related notes. Previous functions in the errno-modeling part that were used for construction of note tags are removed. The note tag added by StdLibraryFunctionsChecker contains the code to display the note tag for 'errno' (this was done previously by these removed functions).
-
Antonio Frighetto authored
Let `llvm.launder.invariant.group` intrinsic as well as instructions operating on memory addresses, whose invariance may be broken by the intrinsic, to be rewritten. Fixes: https://github.com/llvm/llvm-project/issues/72035.
-
Juergen Ributzka authored
Both options do not affect the AST content that is serialized into the PCM. This commit includes the following changes: 1.) Mark `-fvisibility={}` and `-ftype-visibility={}` as benign options.That means they are no longer considered part of the module hash, which can reduce the number of module variants. 2.) Add a test to verify the generated LLVM IR is not affected by the default visibiliy mode in the module. 3.) Add a test to clang-scan-deps to ensure only one module is build, even if the above mentioned options are used. This fixes rdar://118246054. -
Fabian Mora authored
This patch adds initial support to the NVPTX target, enabling `flang` to produce OpenMP offload code for NVPTX targets.
-
Alexey Bataev authored
models, NFC.
-
Michael Buch authored
-
- Nov 16, 2023
-
-
Valery Pykhtin authored
For the following testcase: undef %1.sub1:sgpr_96 = COPY undef %0:sgpr_32 %3:vgpr_32 = V_LSHL_ADD_U32_e64 %1.sub1:sgpr_96, ... GCNRewritePartialRegUses produced: %4:vgpr_32 = COPY undef %1:sgpr_32 dead %2:vgpr_32 = V_LSHL_ADD_U32_e64 %4, ... Register class for %4 is incorrect: there should be sgpr_32 instead of vgpr_32 because the original %1 had scalar regclass. This patch fixes that. Note that GCNRewritePartialRegUses pass isn't enabled by default yet.
-
Alexey Bataev authored
Need to check if we ran into subvector extract pattern before checking for identity vector to avoid compiler crash.
-
Lucas Duarte Prates authored
This introduces the Armv9.5-A architecture version, including the relevant command-line option for -march. Mode details about the Armv9.5-A architecture version can be found at: * https://community.arm.com/arm-community-blogs/b/architectures-and-processors-blog/posts/arm-a-profile-architecture-developments-2023 * https://developer.arm.com/documentation/ddi0602/2023-09/ Patch by Oliver Stannard.
-
Youngsuk Kim authored
Opaque ptr cleanup effort (NFC).
-
Alexey Bataev authored
operand. Need to copy the submask not to the very first part of the common extractelements vector mask, but to the proper one to avoid wrong code emission.
-
LLVM GN Syncbot authored
-
Alex Bradbury authored
None of the in-tree implementations have different behaviour for physical vs virtual registers, and it seems would work equally well if used with virtual registers. As such, perhaps it's simplest to just drop that part of the doc comment.
-
Alex Bradbury authored
This hook is called by the target-independent implementation of TargetInstrInfo::describeLoadedValue. I've opted to test it via a C++ unit test, which although fiddly to set up seems the right way to test a function with such clear intended semantics (rather than testing the impact indirectly). isAddImmediate will never recognise ADDIW as an add immediate which I _think_ is conservatively correct, as the caller may not understand its semantics vs ADDI. Note that although the doc comment for isAddImmediate specifies its behaviour solely in terms of physical registers, none of the current in-tree implementations (including this one) bail out on virtual registers (see #72357).
-
Alexey Bataev authored
vectorized extractelements operands.
-
Piyou Chen authored
Enable this flow by -riscv-split-regalloc=1 (default disable), and could designate specific allocator to RVV by -riscv-rvv-regalloc=<fast|basic|greedy> It uses the RegClass filter function to decide which regclass need to be processed. This patch is pre-requirement for supporting PostRA vsetvl insertion pass.
-
Jake Egan authored
I missed this test in PR https://github.com/llvm/llvm-project/pull/72304
-
Sam Tebbs authored
Adds the following SME2 builtins: svminnm_single_f(16|32|64)_x(2|4) svminnm_f(16|32|64)_x(2|4) svmaxnm_single_f(16|32|64)_x(2|4) svmaxnm_f(16|32|64)_x(2|4) See [ARM-software/acle#217](https://github.com/ARM-software/acle/pull/217) Patch by: Kerry McLaughlin <kerry.mclaughlin@arm.com>
-