- Mar 21, 2022
-
-
LLVM GN Syncbot authored
-
Adrian Kuegel authored
This did not show up as build error because the build also works if the dependency is transitively available. But there should be a direct dependency anyway.
-
Chen Zheng authored
Rename file for PPCCTRLoopsVerify pass from PPCCTRLoops.cpp to PPCCTRLoopsVerify.cpp. There will be a new file PPCCTRLoops.cpp for PPC CTR loops generation later.
-
Pavel Labath authored
It removes the "wait-until-event-thread-stops" logic, which makes TestDiagnosticReporting.py flaky. This reverts commits 09ff41a0 and acdd41b4.
-
Siva Chandra Reddy authored
Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D121976
-
Alisamar Husain authored
This fails currently but the basics are there Differential Revision: https://reviews.llvm.org/D122093
-
Kazu Hirata authored
-
Craig Topper authored
Instead of taking a SkipDefs parameter, rename to getCondSrcNoFromDesc and have it return the source operand number. Make getCondFromMI responsible for adding the number of Defs for MI instructions. While there remove some unneeded casts to unsigned and check for negative numbers instead of explicitly -1. Less than 0 is easier for a compiler to codegen. Differential Revision: https://reviews.llvm.org/D122113
-
Carlos Alberto Enciso authored
At Sony we are developing llvm-dva https://lists.llvm.org/pipermail/llvm-dev/2020-August/144174.html For its PDB support, it requires functionality already present in llvm-pdbutil. We intend to move that functionaly into the PDB library to be shared by both tools. That change will be done in 2 steps, that will be submitted as 2 patches: (1) Replace 'ExitOnError' with explicit error handling. (2) Move the intended shared code to the PDB library. This patch is for step (1). As 'ExitOnError' is intended to be used only in tool code, replace all occurrences in the code that will be moved to the PDB library with explicit error handling. Reviewed By: aganea, dblaikie, rnk Differential Revision: https://reviews.llvm.org/D121801
-
Andrew Litteken authored
Since the IROutliner is performing an optimization, it should not outline from functions explicitly marked with optnone. This adds an extra check and test to make sure this does not occur. Reviewers: paquette Differential Revision: https://reviews.llvm.org/D121567
-
Shengchen Kan authored
-
Shengchen Kan authored
-
jacquesguan authored
Differential Revision: https://reviews.llvm.org/D121985
-
Kazu Hirata authored
-
Florian Hahn authored
-
Philip Reames authored
The semantics of an inalloca alloca instruction requires that it not be reordered with a preceeding stacksave intrinsic call. Unfortunately, there's no def/use edge or memory dependence edge. (THe memory point is slightly subtle, but in general a new allocation can't alias with a call which executes strictly before it comes into existance.) I'd tried to tackle this same case previously in 689babdf, but the fix chosen there turned out to be incomplete. As such, this change contains a fully revert of the first fix attempt. This was noticed when investigating problems which surfaced with D118538, but this is definitely an existing bug. This time around, I managed to reduce a couple of additional cases, including one which was being actively miscompiled even without the new scheduling change. (See test diffs) Compile time wise, we only spend extra time when seeing a stacksave (rare), and even then we walk the block at most once per schedule window extension. Likely a non-issue.
-
Aaron Puchert authored
After D108936, @llvm.smul.with.overflow.i64 was lowered to __multi3 instead of __mulodi4, which also doesn't exist on PowerPC 32-bit, not even with compiler-rt. Block it as well so that we get inline code. Because libgcc doesn't have __muloti4, we block that as well. Fixes #54460. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D122090
-
Kazu Hirata authored
-
- Mar 20, 2022
-
-
Mark de Wever authored
This is no longer needed. Reviewed By: #libc, philnik Differential Revision: https://reviews.llvm.org/D122099
-
Chen Zheng authored
-
esmeyi authored
This is the first patch to enable the XCOFF64 object writer. Currently only fileHeader and sectionHeaders are supported. Reviewed By: jhenderson, DiggerLin Differential Revision: https://reviews.llvm.org/D120861
-
Michel Weber authored
This patch improves the representation size of individual `IntegerRelation`s by calling the function `IntegerRelation::removeRedundantConstraints`. While this is only a slight optimization in the current version, it will be necessary for patches to come. Reviewed By: arjunp Differential Revision: https://reviews.llvm.org/D121989
-
Luo, Yuanke authored
Differential Revision: https://reviews.llvm.org/D119654
-
Shengchen Kan authored
This is not a NFC change b/c we add more instructions like IMUL16/32/64r, MOV16ao16 and MOV16rr_REV etc to the list. But I think it's reasonable. Reviewed By: Amir Differential Revision: https://reviews.llvm.org/D122063
-
Florian Hahn authored
-
Simon Pilgrim authored
Based on feedback from D122084
-
Simon Pilgrim authored
Split combineAddOrSubToADCOrSBB into wrapper (which handles ADDs with commuted args) and the real combine, which no longer has to account for commutation. I'm intending to extend combineAddOrSubToADCOrSBB to detect patterns other than just X86ISD::SETCC, so we need to detect all patterns without detecting them as part of a commutation swap.
-
Shengchen Kan authored
Non-duplicated comments are moved from X86Subtarget.h to X86.td. This is a follow-up patch for D120906.
-
Alisamar Husain authored
Added a line to `thread trace dump info` results which shows total number of instructions executed until now. Differential Revision: https://reviews.llvm.org/D122076
-
Shengchen Kan authored
-
Shengchen Kan authored
-
Shengchen Kan authored
To make them less like other feature functions. This is a follow-up patch for D121978.
-
Craig Topper authored
ComputePHILiveOutRegInfo assumes that constant incoming values to Phis will be zero extended if they aren't a legal type. To guarantee that we should zero_extend rather than any_extend constants. This fixes a bug for RISCV where any_extend of constants can be treated as a sign_extend. Differential Revision: https://reviews.llvm.org/D122053
-
Craig Topper authored
The code that inserts AssertZExt based on predecessor information assumes constants are zero extended for phi incoming values this allows AssertZExt to be created in blocks consuming a Phi. SelectionDAG::getNode treats any_extend of i32 constants as sext for RISCV. The code that creates phi incoming values in the predecessors creates an any_extend for the constants which then gets treated as a sext by getNode. This makes the AssertZExt incorrect and can cause zexts to be incorrectly removed. This bug was introduced by D105918 Differential Revision: https://reviews.llvm.org/D122052
-
Philip Reames authored
There are some slight changes to the test lines due to different cost threshold choices in the two command lines, but I don't believe these to be interesting the purpose of the tests.
-
Jacques Pienaar authored
Add targets for PDLL LSP server.
-
Philip Reames authored
The existing scheduling doesn't account for the scheduling restrictions implied by inalloca allocas combined with stacksave/stackrestore. This adds coverage including one currently miscompiling case.
-
Jon Chesterfield authored
Reconsidered, better to handle per-function state in the constructor as before. This reverts commit 98e474c1.
-
Will Dietz authored
This option tells CMake to add current source and binary directories to the include path for each directory[1]. Required include directories from build tree (for generated files) were previously added in `mlir_tablegen` but this was changed in 03078ec2 . These are still needed, however, for out-of-tree builds that don't build as part of LLVM (via LLVM_ENABLE_PROJECTS). Building as part of LLVM works regardless, AFAICT, because LLVM sets this option and so the MLIR build inherits it. FWIW, various other (in-tree) LLVM projects set this as well. And of course this fixes the out-of-tree mlir-by-itself build scenario I'm using. [1] https://cmake.org/cmake/help/latest/variable/CMAKE_INCLUDE_CURRENT_DIR.html Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D122088
-
River Riddle authored
These were removed, and the FIXME is no longer relevant.
-