- Nov 22, 2023
-
-
Nikita Popov authored
The whole point of the GenericDomTree.h vs GenericDomTreeConstruction.h distinction is that the latter only needs to be included in the source file and not the header.
-
Zi Xuan Wu (Zeson) authored
The first argument of setTruncStoreAction/setLoadExtAction should be Value VT instead of Memory VT.
-
Craig Topper authored
-
Yuxuan Chen authored
This change aims to fix an ICE in issue https://github.com/llvm/llvm-project/issues/63803 The crash happens in `ExitCXXTryStmt` because `EmitAnyExpr()` adds additional cleanup to the `EHScopeStack`. This messes up the assumption in `ExitCXXTryStmt` that the top of the stack should be a `EHCatchScope`. However, since we never read a value returned from `await_resume()` of an init suspend, we can skip the part that builds this `RValue`. The code here may not be in the best shape. There's another bug that `memberCallExpressionCanThrow` doesn't work on the current Expr due to type mismatch. I am preparing a separate PR to address it plus some refactoring might be beneficial.
-
Vitaly Buka authored
kNumShadowPages=1024 helps to pass it consistenly (10k runs). But to be sure also changing success condition to 8 out of 10.
-
Ho Cheung authored
Fix build issue on Windows. Fixes #73006
-
Shengchen Kan authored
JMPABS is a 64-bit only ISA extension, and acts as a near-direct branch with an absolute target. The 64-bit immediate operand is treated an as absolute effective address, which is subject to canonicality checks. It is in legacy map 0 and requires REX2 prefix with `REX2.M0=0` and `REX2.W=0`. All other REX2 payload bits are ignored. blog: https://kanrobert.github.io/rfc/All-about-APX-JMPABS/ This patch 1. Extends `ExplicitVEXPrefix` to `ExplicitOpPrefix` for instrcutions requires explicit `REX2` or `EVEX` 2. Adds `ATTR_REX2` and `IC_64BIT_REX2` to put `JMPABS` , `MOV EAX, moffs32` in different tables to avoid opcode conflict NOTE: 1. `ExplicitREX2Prefix` can be reused by the following PUSHP/POPP instructions. 2. `ExplicitEVEXPrefix` will be used by the instructions promoted to EVEX space for EGPR.
-
Matthias Braun authored
- Change `BranchProbabilityPrinterPass` output to match expectations of `update_analyze_test_checks.py`. - Add `Branch Probability Analysis` to list of supported analyses. - Process `llvm/test/Analysis/BranchProbabilityInfo/basic.ll` with `update_analyze_test_checks.py` as proof of concept. Leaving the other tests unchanged to reduce the amount of churn.
-
Aart Bik authored
All DLT related methods have DLT at end, removed stale TODO
-
Yeting Kuo authored
DAGCombiner folds (select_cc seteq (and x, y), 0, 0, A) to (and (sra (shl x)) A) where y has a single bit set. Previously, DAGCombiner relies on `shouldAvoidTransformToShift` to decide when to do the combine, but `shouldAvoidTransformToShift` is only about shift cost. This patch introuduces a specific hook to decide when to do the combine and disable the combine when Zicond enabled and AndMask <= 1024.
-
Valentin Clement (バレンタイン クレメン) authored
-
Valentin Clement (バレンタイン クレメン) authored
-
Valentin Clement (バレンタイン クレメン) authored
HLFIR lowering as been set by default now and FIR lowering support will be removed in the near future. This patch removes the specific FIR check lines on enter/exit data tests.
-
GkvJwa authored
Use "__this" in DataMemberRecord, make vs debugger can be parsed normally Fixes #71562
-
Valentin Clement (バレンタイン クレメン) authored
Remove the run lines that check for the FIR lowering. HLFIR lowering produce the same check lines.
-
Aart Bik authored
removed two unused methods, removed obsoleted FIXME
-
Mingming Liu authored
[nfc][InstrProfTest]Add a test fixture to parameterize the read-write test of value profiles (#73038) This patch factor out the common code among three similar test cases. The input data and test logic are pretty similar. Parameterize the differences (prof-weight and endianness) as advised in https://github.com/llvm/llvm-project/pull/72611. - Remove duplicated tests
-
Andres Villegas authored
Adds a new Implementation of StackTracePrinter that only emits symbolizer markup. Currently this change only affects Fuchsia OS. Should be NFC.
-
Andres Villegas authored
Make some methods of StackTracPrinter that will have a common implementation, non virtual.
-
Louis Dionne authored
Fixes #71498
-
Tom Stellard authored
This skips the build of all the unittests and llvm/clang tools, reducing the number of ninja targets from 4,826 to 3,816 in phase 1 and phase 2.
-
Evgenii Stepanov authored
Baremetal targets tend to implement their own runtime support for sanitizers. Clang driver gatekeeping of allowed sanitizer types is counter productive. This change allows anything that does not crash and burn in compilation, and leaves any potential runtime issues for the user to figure out.
-
Logikable authored
-
Craig Topper authored
The NonNeg flag was being Anded with the Exact flag.
-
Jeffrey Byrnes authored
This will help users analyze whether high register usage is coming from inability of scheduler to reduce RP, or from sacrificing good RP to improve ILP.
-
Mingming Liu authored
Test fixture `MaybeSparseInstrProfTest` parameterize InstrProfWriter by whether output is sparse or not. This test fixture has 20 test cases, and 6 of them doesn't use profile reader and writer. Undo the parameterization for these test cases will reduce redundant tests. This is one clean-up PR. (A few more clean-ups to come soon, but they are not inter-dependent)
-
Tom Stellard authored
Build clang with the host compiler and ccache enabled in order to speed up the phase 1 builds. This helps reduce the amount of time spent running on the non-free builders.
-
kkwli authored
OutputUnformattedBlock and InputUnformattedBlock are not used.
-
Konstantin Varlamov authored
These assertions can only be triggered by bugs in the algorithm's implementation; all user inputs should be handled gracefully.
-
David Blaikie authored
-
Marco Elver authored
Jakub Jelínek reports: As mentioned in https://gcc.gnu.org/PR112563, the new DECLARE_WRAPPER macro added in 37445e96 and ammended in 85d3873a doesn't work on SPARC/Solaris with Solaris as. While clang and GNU as when used from GCC seems to be forgiving on most architectures and allow both %function and @function (with the latter not being allowed on ARM/AArch64 I believe because @ is assembler comment start there), Solaris as doesn't allow the %function form. Fix it by using %function only for ARM. Co-developed-by:
Jakub Jelínek <jakub@redhat.com> Reported-by:
Jakub Jelínek <jakub@redhat.com> Closes: https://github.com/llvm/llvm-project/issues/72970
-
Eric authored
The bots have been running smoothly for a while. Check out https://libcxx.efcs.ca/cistats.html for more info.
-
bd1976bris authored
[clang codegen][regression] Add dso_local/hidden/etc. markings to VTT definitions and declarations (#72452) https://reviews.llvm.org/D128482 regressed certain cases of VTT emission which are no longer hidden with -fvisibility=hidden. Fix this regression by marking both declarations and definitions. Fixes [clang codegen][regression] VTT definitions missing dso_local/hidden/etc markings #72451
-
Craig Topper authored
-
Muhammad Omair Javaid authored
This reverts commit f79676a1.
-
Erich Keane authored
`atomic` is required to be followed by a special `atomic clause`, so this patch manages the parsing of that. We are representing each of the variants of the atomic construct as separate kinds, because they have distinct rules/application/etc, and this should make it easier to check rules in the future.
-
Andrzej Warzyński authored
Update tests in "vector-contract-matvec-transforms.mlir" so that they are consistent with similar tests in: * "vector-contract-to-outerproduct-transforms.mlir". This is to enable further refactoring in a follow-up patch, namely to: * remove duplication (this will be much easier once consistent naming is used), * extend tests in "vector-contract-matvec-transforms.mlir" with cases for scalable vectors, * merge "vector-contract-matvec-transforms.mlir" and "vector-contract-to-outerproduct-transforms.mlir" (there's no need for 2 different files testing identical transformations). Overview of changes in this patch: 1. Simplify the test by removing MemRef wrappers - this test verifies Vector -> Vector transformations and MemRefs are not needed. 2. Use (m, k) indices instead of (i, j). 3. Rename function names. This is part of a larger effort to improve test coverage for scalable vectors in the Vector dialect. Implements #72834. -
Craig Topper authored
We can use short forward branch to conditionally negate if the value is negative.
-
Craig Topper authored
-
Joe Nash authored
-