- Oct 24, 2022
-
-
LLVM GN Syncbot authored
-
Matt Arsenault authored
emitCallAndSwitchStatement creates placeholder allocas to pass to these, so the types need to match.
-
Matt Arsenault authored
This was making decisions based on BBsToDelete, while being used to determine BBsToDelete which doesn't really work. Additionally, this is a lot of logic just to avoid deleting the entry block when we can just skip it.
-
Matt Arsenault authored
-
Matt Arsenault authored
Make load and store non-atomic. Make the others monotonic. We could probably try to incrementally relax the orderings; not sure how useful that would be.
-
Matt Arsenault authored
-
Matt Arsenault authored
Removing volatile may help optimization passes do more to the IR. However, this will increase scheduler freedom.
-
Matt Arsenault authored
Try to remove each flag from instructions. It may make more sense to introduce these flags instead.
-
Matt Arsenault authored
A future change will skip the reduction for functions with unreachable blocks. Also stop using the hard to follow python based interestingness check in favor of FileCheck.
-
Petr Hosek authored
All our users have migrated to ld64.lld so we no longer need libLTO. Differential Revision: https://reviews.llvm.org/D135471
-
Lang Hames authored
-
Craig Topper authored
Previously we would only look for an AND or a negate. But its possible there is a negate after looking through the AND.
-
Alexander Kornienko authored
This reverts commit 74e4f778, which caused a ~40% increase in SLoc address space utilization on certain cases. See https://reviews.llvm.org/D136539#3877872.
-
Alexander Kornienko authored
This reverts commit f83347b0. This is necessary to revert 74e4f778, which caused a ~40% increase in SLoc address space utilization on certain cases. See https://reviews.llvm.org/D136539#3877872.
-
Lang Hames authored
Discarding the init symbol is expected to be uncommon (it represents metadata in the MaterializationUnit that is relevant to dlopen, and this will not usually be fully duplicated in some other location), however if a client has marked an InitSymbol as weak and it is selected to be discarded then we should keep the data structure consistent.
-
Lang Hames authored
Since aedeb8d5, which switched to EPC-based eh-frame registrationin LLJIT, the eh-frame registration functions need to be forcibly linked into the target process. Failure to link the eh-frame registration functions triggered a test failure in https://green.lab.llvm.org/green/job/clang-stage1-RA/31497, which was fixed by forcibly linking the registration functions into that test case in saf2b2214 (rdar://101083784), however it has also caused some tests (e.g. the C API unit tests) that depend on successful construction of an LLJIT instance to be skipped. Moving the forcible registration into LLJIT.cpp fixes the general issue.
-
Arthur Eubanks authored
To prepare for upcoming change.
-
skc7 authored
Reviewed By: ABataev Differential Revision: https://reviews.llvm.org/D136553
-
Simon Pilgrim authored
-
Kazu Hirata authored
This patch fixes: mlir/lib/Conversion/AMDGPUToROCDL/AMDGPUToROCDL.cpp:128:10: warning: variable ‘llvm2xI32’ set but not used [-Wunused-but-set-variable] The last use of llvm2xI32 was removed on July 6, 2022 in commit 63295622.
-
Kazu Hirata authored
This patch fixes: clang/lib/AST/Interp/ByteCodeExprGen.cpp:978:24: warning: variable ‘T’ set but not used [-Wunused-but-set-variable] T and ReturnType were introduced on August 19, 2022 in commit 8e41e6a4. Their last uses were removed on October 13, 2022 in commit 0e754cfa.
-
- Oct 23, 2022
-
-
Simon Pilgrim authored
On AVX512, extract legal bool vectors as bool subvectors before bitcasting to scalars to avoid spilling to stack. This helps rust which internally represents bool vectors as bool arrays It also exposes more missed opportunities to use the KADD instruction to add masks together before moving to gpr Fixes #58546
-
zhongyunde authored
Address the commit https://reviews.llvm.org/D136015#inline-1313479 Reviewed By: spatel Differential Revision: https://reviews.llvm.org/D136340
-
Simon Pilgrim authored
-
Simon Pilgrim authored
We only need this for std::abs, but since we're also testing the sign of the same value, then its not really necessary. As detailed in https://commondatastorage.googleapis.com/chromium-browser-clang/llvm-include-analysis.html - APInt.h is the generic header with the highest expanded size, due to the dependency on <cmath>
-
Simon Pilgrim authored
This is already included in APInt.h
-
Benjamin Kramer authored
-
Simon Pilgrim authored
[DAG] Add freeze(sign/zero_extend_vector_inreg(x)) -> sign/zero_extend_vector_inreg(freeze(x)) folding
-
Schrodinger ZHU Yifan authored
Reviewed By: gchatelet Differential Revision: https://reviews.llvm.org/D135540
-
Guillaume Chatelet authored
-
John McIver authored
Resolves undefined references to vtable for clang::ASTConsumer, PCHContainerOperations::PCHContainerOperations(), and CodeGenOptions::CodeGenOptions(). Reviewed By: Izaron Differential Revision: https://reviews.llvm.org/D136546
-
Simon Pilgrim authored
-
Simon Pilgrim authored
Add X86 isGuaranteedNotToBeUndefOrPoisonForTargetNode / canCreateUndefOrPoisonForTargetNode overrides and add X86ISD::PSHUFD/VPERMILPI handling.
-
Simon Pilgrim authored
Its going to be easier to add some basic target shuffle handling than generic ISD::SHUFFLE_VECTOR nodes which is going to need special handling for unused/undef operands. Both freeze_pshufd and freeze_permilps tests lower to vpermilps, but only in domain switching later on.
-
Kazu Hirata authored
This patch fixes: mlir/include/mlir/Tools/mlir-translate/Translation.h:93:35: warning: extra ‘;’ [-Wpedantic]
-
Mike Hommey authored
Fixes #58307 Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D135738
-
Kazu Hirata authored
-
Craig Topper authored
If the divisor is even, we can first shift the dividend and divisor right by the number of trailing zeros. Now the divisor is odd and we can do the original algorithm to calculate a remainder. Then we shift that remainder left by the number of trailing zeros and add the bits that were shifted out of the dividend. Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D135541
-
Craig Topper authored
This reverts commit e8b3ffa5. The AMDGPU/mad_64_32.ll seems to fail on some of the build bots but passes locally. I'm really confused.
-
Craig Topper authored
-