- Nov 20, 2023
-
-
Maksim Levental authored
-
Noah Goldstein authored
Three transforms (all commutative): https://alive2.llvm.org/ce/z/Bc-nh4 Closes #71309
-
Noah Goldstein authored
-
Noah Goldstein authored
Recommit "[DAGCombiner] Transform `(icmp eq/ne (and X,C0),(shift X,C1))` to use rotate or to getter constants." (2nd Try) Added missing check that the mask and shift amount added up to correct bitwidth as well as test cases for the bug. Closes #71729
-
Noah Goldstein authored
-
Noah Goldstein authored
This combine was previously adding instruction in some cases (see the tests). Closes #72767
-
Noah Goldstein authored
-
Yingwei Zheng authored
Alive2: https://alive2.llvm.org/ce/z/gqeaVo Related patch: https://github.com/llvm/llvm-project/commit/31d219d2997fed1b7dc97e0adf170d5aaf65883e
-
- Nov 19, 2023
-
-
philnik777 authored
This allows us to also check the constraints during constant evaluation.
-
Bill Wendling authored
This reverts commit 99ee2db1. It's causing ICEs in the ARM tests. See the comment here: https://github.com/llvm/llvm-project/commit/99ee2db198d86f685bcb07a1495a7115ffc31d7e
-
Brad Smith authored
-
Aiden Grossman authored
I swore I copied the if statement from somewhere, but whatever I did to it while moving it over dropped one of the equals signs. This patch fixes that so the action will actually work properly.
-
Aiden Grossman authored
Currently, the scorecard action runs on forks. This means that every recent fork will be periodically running a job that doesn't really make a lot of sense to run outside the main monorepo. This patch fixes that by restricting the job to only run in the monorepo.
-
Phoebe Wang authored
-
Jie Fu authored
/llvm-project/clang/lib/CodeGen/CGObjCGNU.cpp:3674:15: error: variable 'selStructPtrTy' set but not used [-Werror,-Wunused-but-set-variable] llvm::Type *selStructPtrTy = SelectorTy; ^ 1 error generated. -
Youngsuk Kim authored
* Replace all existing uses of ConstantAggregateBuilderBase::addBitCast, as they involve a no-op ptr-to-ptr bitcast * Remove method ConstantAggregateBuilderBase::addBitCast Opaque ptr cleanup effort (NFC)
-
Jeremy Morse authored
This patch extends findDbgValue and friends to optionally fill out a vector of DPValue pointers, containing DPValues that refer to the sought Value. This will allow us to incrementally add instrumentation to other optimisation passes one-at-a-time, while un-instrumented passes will not (yet) update DPValues. Unit tests to check this behaves in the same way as dbg.values.
-
Mehdi Amini authored
-
Mehdi Amini authored
-
Mehdi Amini authored
-
Mehdi Amini authored
-
Mehdi Amini authored
-
Mehdi Amini authored
-
Youngsuk Kim authored
Replace calls to `ConstantAggregateBuilderBase::addBitCast` that involve a no-op ptr-to-ptr bitcast. Opaque ptr cleanup effort (NFC)
-
Simon Pilgrim authored
Revert rGbfbfd1ca "[X86] combineLoad - try to reuse existing constant pool entries for smaller vector constant data" Investigating reports of this causing infinite loops
-
Simon Pilgrim authored
ShrinkDemandedOp checks for both isTruncateFree AND isZExtFree but extends with ANY_EXTEND.
-
Florian Hahn authored
VPReductionRecipe may be executed for scalar VFs. Make sure to access part 0 of the condition, as it could be an active-lane-mask, which is a vector <1 x i1> Fixes https://github.com/llvm/llvm-project/issues/72720.
-
Florian Hahn authored
Address post-commit comment to retain comment.
-
Craig Topper authored
-
Craig Topper authored
-
Aiden Grossman authored
Currently, when changes are made to the tablegen files that build the docs, the docs build is not tested. This should rarely cause breakages, but it's cheap to test and there isn't a major reason not to.
-
David Green authored
-
Youngsuk Kim authored
Method CGObjCGNUstep2::EnforceType is called from 2 call-sites to perform bitcasts which are no-ops given that opaque pointers are enabled in LLVM. Remove the method. Opaque ptr cleanup effort (NFC).
-
Benjamin Kramer authored
-
Benjamin Kramer authored
-
Craig Topper authored
Add -rv32 -rv64 as suffix to test name. First step towards trying to merge the content of these tests.
-
Craig Topper authored
There's already a Contents field in the MCEncodedFragmentWithFixups base class. The Contents field in MCLEBFragment is private and there is no accessor for it. It is initialized in the constructor, but that should probably initialize the base class version.
-
long.chen authored
When performing constant folding on the affineApplyOp, there is a division of 0 in the affine map. [related issue](https://github.com/llvm/llvm-project/issues/64622 ) --------- Co-authored-by:
Javier Setoain <jsetoain@users.noreply.github.com>
-
David Stenberg authored
This is a follow-up to #68981, and fix for #72630, #72447. We may end up in SelectionDAG::salvageDebugInfo() with indirect debug values, and attempting to salvage ADD nodes with non-constant RHS would lead us to try to turn those indirect debug values variadic, which is not allowed. This triggered the following assert in the SDDbgValue constructor: Assertion `!(IsVariadic && IsIndirect)' failed. This also adds a lit test for salvaging when having an indirect debug value and constant RHS, as there seems like there was no such lit test. However, I am not sure if the use of the stack_value operation is correct in that case (which is existing behavior before #68981), but that at least documents the current behavior.
-
- Nov 18, 2023
-
-
Alexander Yermolovich authored
Enable Type Units with DWARF5 accelerator tables for monolithic DWARF. Implementation relies on linker to tombstone offset in LocalTU list to -1 when it deduplciates type units using COMDAT.
-