- Oct 19, 2023
-
-
Aart Bik authored
This makes sure - GEN MAP dim=2 lvl=4 (d0, d1) -> (d0 floordiv 2, d1 floordiv 2, d0 mod 2, d1 mod 2) -- (d0, d1, d2, d3) -> (d0 * 2 + d2, d1 * 2 + d3) is indeed encoded as MAP-REF (dim=2, lvl=4) isperm=0 d2l = [ d0/2 d1/2 d0%2 d1%2 ] ld2 = [ l2+2*l0 l3+2*l1 ]
-
Craig Topper authored
This is needed when we run out of registers.
-
Brad Smith authored
- Add in some other linker command line options that the other BSD's handle - Make use of AddFilePathLibArgs() - Handle OpenMP
-
Kazu Hirata authored
-
Owen Pan authored
-
Kazu Hirata authored
-
Phoebe Wang authored
AVX10 Architecture Specification: https://cdrdv2.intel.com/v1/dl/getContent/784267 AVX10 Technical Paper: https://cdrdv2.intel.com/v1/dl/getContent/784343 RFC: https://discourse.llvm.org/t/rfc-design-for-avx10-options-support/73672
-
Arthur Eubanks authored
An oversight in https://reviews.llvm.org/D148836 since this is a different code path.
-
Nuri Amari authored
Summary: When a PCM file is loaded, it can go wrong in various ways. The current diagnostic only produces the name of the malformed PCM, not why it is malformed. Expand the diagnostic to display what went wrong! There is only one call site for this diagnostic, and it already passes the error message: https://github.com/llvm/llvm-project/blob/main/clang/lib/Serialization/ASTReader.cpp#L4763-L4764 Test Plan: The modified LIT test. --------- Co-authored-by:
Nuri Amari <nuriamari@fb.com>
-
Min-Yih Hsu authored
This patch consists of porting SDISel patterns of SHXADD instructions to GISel. Note that `non_imm12`, a predicate that was implemented with `PatLeaf`, is now turned into a `PatFrag` of `<op>_with_non_imm12` where `op` is the operator that uses `the non_imm12` operand, as GISel doesn't have equivalence of `PatLeaf` at this moment.
-
Austin Theriault authored
Currently for any wasm target, llvm will make a pass that removes irreducible control flow. (See [here](https://llvm.org/doxygen/WebAssemblyFixIrreducibleControlFlow_8cpp.html)). This can result in O(NumBlocks * NumNestedLoops * NumIrreducibleLoops + NumLoops * NumLoops) build time, which has resulted in exceedingly long build times when testing. This PR introduces a hidden flag to skip this pass, which brings some of our build times down from 30 minutes to ~6 seconds.
-
Tai Ly authored
This patch fixes variable names in the style guide. Specifically, names in the form xyz_abc are changed to the form xyzAbc Signed-off-by:Tai Ly <tai.ly@arm.com>
-
Razvan Lupusoru authored
During flang handling of semantics of OpenACC private/firstprivate/ reduction clauses (including the implicitly private loop IV), a new scoped symbol was being created. This could lead to ambiguity in the lowered FIR - aka having multiple fir.declare for the same symbol. Because lowering of OpenACC does not materialize the meaning of the private clauses (by actually creating a scoped local symbol), it does not make sense to create a new symbol in semantics either. I updated the acc-symbols01.f90 test to reflect this updated approach. Technically, the test could be removed, but it made sense to keep in place to highlight this intentional decision.
-
Jonas Devlieghere authored
Reduce memory usage by only extract unit DIEs when cloning clang modules. We don't need the full debug info yet at this stage. This reduces peak memory usage of dsymutil when linking the swift driver by multiple gigabytes. rdar://117156180
-
Logikable authored
Broke https://lab.llvm.org/buildbot/#/builders/181/builds/24470. Could we build the example/tutorial code in the submit checks? This breakage wasn't caught at submit time.
-
Owen Pan authored
Skip TrailingAnnotation when looking for TrailingReturnArrow. Fixes #69234.
-
Tom Stellard authored
-
Tom Stellard authored
This was broken by b71edfaa.
-
Craig Topper authored
[RISCV] Don't let performBUILD_VECTORCombine form a division or remainder with undef elements. (#69482) Division/remainder by undef is immediate UB across the entire vector.
-
Stanislav Mekhanoshin authored
With the legality checks in place it is now safe to do. S_MOV_B64 shall not be used with wide literals, thus updating the test.
-
Yinying Li authored
Example: dimLevelType = [ "compressed", "compressed" ] to map = (d0, d1) -> (d0 : compressed, d1 : compressed)
-
Kazu Hirata authored
InlinerOrder::front was removed by: commit d3b95ecc Author: Kazu Hirata <kazu@google.com> Date: Sun Sep 18 08:49:44 2022 -0700 This patch removes a mention of front.
-
Alexey Bataev authored
function, NFC.
-
Kazu Hirata authored
We can use std::pop_heap first and then retrieve the top priority item with pop_back_val, saving one line of code.
-
Ivan Tadeu Ferreira Antunes Filho authored
When compiling for Darwin, sigset is not initialized. When -Werror,-Wuninitialized-const-reference are enabled we see the error: asan_interceptors.cpp:260:38: error: variable 'sigset' is uninitialized when passed as a const reference argument here [-Werror,-Wuninitialized-const-reference] This fixes the error
-
Aart Bik authored
This enables reading block sparse from file using libgen! (and soon also direct IR codegen)
-
Kazu Hirata authored
This patch fixes: compiler-rt/lib/builtins/int_to_fp_impl.inc:36:10: error: expression is not an integer constant expression; folding it to a constant is a GNU extension [-Werror,-Wgnu-folding-constant]
-
Fangrui Song authored
[CodeGen] -fsanitize=alignment: add cl::opt sanitize-alignment-builtin to disable memcpy instrumentation (#69240) Deploying #67766 to a large internal codebase uncovers many bugs (many are probably benign but need cleaning up). There are also issues in high-profile open-source projects like v8. Add a cl::opt to disable builtin instrumentation for -fsanitize=alignment to help large codebase users. In the long term, this cl::opt option may still be useful to debug -fsanitize=alignment instrumentation on builtins, so we probably want to keep it around.
-
David Green authored
The MVETRUNC operation can perform the same truncate of two vectors, without requiring lane inserts/extracts from every vector lane. This moves the concat i1 lowering to use it for v8i1 and v16i1 result types, trading a bit of extra stack space for less instructions.
-
Louis Dionne authored
This will make it easier to implement new(nothrow) without calling the throwing version of new when exceptions are disabled. See https://llvm.org/D150610 for the full discussion.
-
Stanislav Mekhanoshin authored
-
Louis Dionne authored
This makes it a lot easier to make wide ranging changes like I am about to do in https://llvm.org/D150610.
-
Luke Lau authored
The current test cases to guard against speculative execution can actually be safely speculated because the denominator is known to be not 0 or -1, and isSafeToSpeculativelyExecuteWithOpcode will account for this. This adds some more test cases and rejigs some existing ones to use an unknown variable instead.
-
Oskar Wirga authored
When MergeFuncs creates a thunk, it does not modify the function in place, but creates a new one altogether. If type metadata is not properly forwarded to this new function, LowerTypeTests will be unable to put this thunk into the dispatch table. The fix here is to just forward the type metadata to the newly created functions.
-
Yaxun (Sam) Liu authored
Document clang support for function pointers and virtual functions with HIP
-
Dominik Adamski authored
The user of CodeExtractor should be able to specify that the aggregate argument should be passed as a pointer in zero address space. CodeExtractor is used to generate outlined functions required by OpenMP runtime. The arguments of the outlined functions for OpenMP GPU code are in 0 address space. 0 address space does not need to be the default address space for GPU device. That's why there is a need to allow the user of CodeExtractor to specify, that the allocated aggregate parameter is passed as pointer in zero address space.
-
Thurston Dang authored
stack-uar.c is flaky (1 in 256 executions) because the random tag may be zero (https://github.com/llvm/llvm-project/issues/69221). This patch works around the issue in the same way as deep-recursion.c (https://github.com/llvm/llvm-project/commit/aa4dfd3736dd1c2e0263eacd09bd613c5784ea73 ), by falling back to a neighboring object, which must have a different (non-zero) tag. This patch also does a minor cleanup of the aforementioned deep-recursion.c, for consistency with stack-uar.c. Co-authored-by:
Thurston Dang <thurston@google.com>
-
Guray Ozen authored
-
Piotr Zegar authored
Fix 'Bullet list ends without a blank line; unexpected unindent.
-
Chengji Yao authored
Specializing for 8-bit integers to ensure values are printed as integers Fixes #69310
-