- Jul 01, 2022
-
-
LLVM GN Syncbot authored
-
Piotr Sobczak authored
There are upcoming intrinsics to use the new types. Reviewed By: rampitec Differential Revision: https://reviews.llvm.org/D128865
-
Reid Kleckner authored
This new test was failing because the line number delta wasn't right.
-
Naje George authored
Add new semantics test for team_number and rename existing team_number semantics test. Reviewed By: ktras Differential Revision: https://reviews.llvm.org/D128309
-
Mogball authored
This patch implements the analysis state classes needed for sparse data-flow analysis and implements a dead-code analysis using those states to determine liveness of blocks, control-flow edges, region predecessors, and function callsites. Depends on D126751 Reviewed By: rriddle, phisiart Differential Revision: https://reviews.llvm.org/D127064
-
Nuno Lopes authored
-
Marc Auberer authored
Removes an unused function argument from a code listing in the Kaleidoscope turorial in step 9. Reviewed By: dblaikie, MaskRay Differential Revision: https://reviews.llvm.org/D128628
-
Kostya Serebryany authored
With this change, fuzz targets may choose to return -1 to indicate that the input should not be added to the corpus regardless of the coverage it generated. Reviewed By: morehouse Differential Revision: https://reviews.llvm.org/D128749
-
Craig Topper authored
-
Craig Topper authored
These should contain the same thing, but we aren't consistent about which we use. Since we call ReplaceNode, it seems more correct to use the initial VT.
-
Jay Foad authored
GFX11 has a new message type MSG_DEALLOC_VGPRS which can be used to release a shader's VGPRs. Sending this at the end of a shader (just before the s_endpgm) can help overall system performance in cases where the s_endpgm would have to wait for outstanding VMEM stores to complete before releasing the VGPRs. Differential Revision: https://reviews.llvm.org/D128442
-
Sanjay Patel authored
I looked at canonicalizing in the other direction, but that causes many potential regressions and infinite loops because we already (possibly wrongly) canonicalize "trunc X to i1" into an and+icmp. This has a data layout restriction to avoid creating illegal mask instructions, but we could remove that if we can show that the backend can undo this when needed. The motivating example from issue #56119 is modeled by the PhaseOrdering test.
-
Sanjay Patel authored
-
Sanjay Patel authored
issue #56119
-
Sanjay Patel authored
As discussed in D128123, the existing test shows a possible regression when converting sub to xor. This adds tests that avoid that pattern but still has a offset near 65535. Also, add a test with the canonical IR for the existing test to show if the transform is happening with the expected pattern in IR.
-
Aaron Ballman authored
This captures the first 15 or so DRs in C99
-
Simon Pilgrim authored
Building on the work on D124284, this patch tags v4i8 and v2i16 vector loads as custom, enabling SLP to try to vectorize these types ending in a partial store (using the SSE MOVD instruction) - we already do something similar for 64-bit vector types. Differential Revision: https://reviews.llvm.org/D127604
-
Jonas Hahnfeld authored
This is required to support RISC-V where the '+d' target feature indicates the presence of the D instruction set extension, which changes to the Hard-float 'd' ABI. Differential Revision: https://reviews.llvm.org/D128853
-
Sam McCall authored
Differential Revision: https://reviews.llvm.org/D128930
-
Jim Ingham authored
This is a follow-up to https://reviews.llvm.org/D128776.
-
Fazlay Rabbi authored
This patch gives basic parsing and semantic support for "parallel masked taskloop" construct introduced in OpenMP 5.1 (section 2.16.9) Differential Revision: https://reviews.llvm.org/D128834
-
Jim Ingham authored
not to be hit. But another thread might be hit at the same time and actually stop. So we have to be sure to switch the first thread's stop info to eStopReasonNone or we'll report a hit when the condition failed, which is confusing. Differential Revision: https://reviews.llvm.org/D128776
-
Jonas Devlieghere authored
This reverts commit 2f207439 because it triggers an assertion when building an LLDB test program: Assertion failed: (InstantiatingSpecializations.empty() && "failed to clean up an InstantiatingTemplate?"), function ~Sema, file /Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/clang/lib/Sema/Sema.cpp, line 458. More details in https://reviews.llvm.org/D126907.
-
Craig Topper authored
We don't need to pass the 3 VTs separately, we already have a list available to us.
-
Fangrui Song authored
GNU objdump disassembles all unknown instructions by default. Match this user friendly behavior with the cpu value `future`. Differential Revision: https://reviews.llvm.org/D127824
-
Fangrui Song authored
GNU objdump disassembles all unknown instructions by default. Match this user friendly behavior with the target feature "all" (D128029) designed for disassemblers. Reviewed By: jhenderson Differential Revision: https://reviews.llvm.org/D128030
-
Craig Topper authored
I think the VT pased in will always be XLen.
-
Katherine Rasmussen authored
Add a semantics test for the intrinsic function `get_team`. Differential Revision: https://reviews.llvm.org/D128370
-
Javed Absar authored
This fixes Bug https://github.com/llvm/llvm-project/issues/53492 and uses InlineHistory to track recursive inlining. Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D127072
-
Benoit Jacob authored
Differential Revision: https://reviews.llvm.org/D128925
-
Aaron Ballman authored
This reverts commit 329fae71. This should fix failing test bots like: https://lab.llvm.org/buildbot/#/builders/91/builds/11328
-
Fangrui Song authored
This is used by disassemblers: `llvm-mc -disassemble -mattr=` and `llvm-objdump --mattr=`. The main use case is for llvm-objdump to disassemble all known instructions (D128030). In user-facing tools, "all" is intentionally not supported in producers: integrated assembler (`.arch_extension all`), clang -march (`-march=armv9.3a+all`). Due to the code structure, `llvm-mc -mattr=+all` `llc -mattr=+all` are not rejected (they are internal tool). Add `llvm/test/CodeGen/AArch64/mattr-all.ll` to catch behavior changes. AArch64SysReg::SysReg::haveFeatures: check `FeatureAll` to print `AArch64SysReg::SysReg::AltName` for some system registers (e.g. `ERRIDR_EL1, RNDR`). AArch64.td: add `AssemblerPredicateWithAll` to additionally test `FeatureAll`. Change all `AssemblerPredicate` (except `UseNegativeImmediates`) to `AssemblerPredicateWithAll`. utils/TableGen/{DecoderEmitter,SubtargetFeatureInfo}.cpp: support arbitrarily nested all_of, any_of, and not. Note: A predicate supports all_of, any_of, and not. For a target (though currently not for AArch64) an encoding may be disassembled differently with different target features. Note: AArch64MCCodeEmitter::computeAvailableFeatures is not available to the disassembler. Reviewed By: peter.smith, lenary Differential Revision: https://reviews.llvm.org/D128029 -
Martin Sebor authored
Correct a logic bug in the memrchr enhancement added in D123629 that makes it ineffective in a subset of cases. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D128856
-
Fangrui Song authored
Update D120104 to add FeatureFuseAdrpAdd to Processor#TuneFeatures instead of Processor#Features, similar to FeatureFuseAES, and matching Tune*. This enables FeatureFuseAdrpAdd for `clang -mcpu=xxx -mtune=generic` even if xxx does not set FeatureFuseAdrpAdd. Reviewed By: alexander-shaposhnikov, peter.smith Differential Revision: https://reviews.llvm.org/D128787
-
Vaibhav Yenamandra authored
Create an interface for writing SARIF documents from within clang: The primary intent of this change is to introduce the interface clang::SarifDocumentWriter, which allows incrementally adding diagnostic data to a JSON backed document. The proposed interface is not yet connected to the compiler internals, which will be covered in future work. As such this change will not change the input/output interface of clang. This change also introduces the clang::FullSourceRange type that is modeled after clang::SourceRange + clang::FullSourceLoc, this is useful for packaging a pair of clang::SourceLocation objects with their corresponding SourceManagers. Previous discussions: RFC for this change: https://lists.llvm.org/pipermail/cfe-dev/2021-March/067907.html https://lists.llvm.org/pipermail/cfe-dev/2021-July/068480.html SARIF Standard (2.1.0): https://docs.oasis-open.org/sarif/sarif/v2.1.0/os/sarif-v2.1.0-os.html Differential Revision: https://reviews.llvm.org/D109701
-
Matthew Voss authored
Fixes this error: /var/lib/buildbot/sanitizer-buildbot6/sanitizer-x86_64-linux-android/build/ llvm-project/llvm/tools/llvm-reduce/TestRunner.cpp:20:7: error: field 'TM' will be initialized after field 'ToolName' [-Werror,-Wreorder-ctor] TM(std::move(TM)), ToolName(ToolName) { ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ Program(std::move(Program)) TM(std::move(TM)) 1 error generated. https://lab.llvm.org/buildbot/\#/builders/77/builds/19154 -
Daniel Thornburgh authored
This option allows printing all sources used by an object file. Reviewed By: dblaikie, jhenderson Differential Revision: https://reviews.llvm.org/D87656
-
Kai Nacke authored
clang (like gcc) has the `-mtune=` command line option. This option adds the `"tune-cpu"` attribute to a function. The intended functionality is that the scheduling model of that cpu is used. E.g. `-mtune=z15 -march=z14` generates only instructions supported on z14 but uses the scheduling model of z15 for it. This PR adds the infrastructure to support this. Reviewed By: uweigand Differential Revision: https://reviews.llvm.org/D128910
-
Christopher Bate authored
For the conversion to nvgpu `mma.sync` and `ldmatrix` pathways, the code was missing support for the `i4` data type. While fixing this, another bug was discoverd that caused the number of ldmatrix tiles calculated for certain operand types and configurations to be incorrect. This change fixes both issues and adds additional tests. Differential Revision: https://reviews.llvm.org/D128074
-
Jonas Devlieghere authored
TestObjCXXBridgedPO is broken on macOS Ventura (but not on macOS Monterey). I took a look but it doesn't seem trivial. I'm XFAILing the test until Adrian, who wrote the test, can take a look. rdar://96224141
-