- Apr 26, 2021
-
-
Hsiangkai Wang authored
Differential Revision: https://reviews.llvm.org/D100824
-
Hsiangkai Wang authored
Differential Revision: https://reviews.llvm.org/D100823
-
Hsiangkai Wang authored
Differential Revision: https://reviews.llvm.org/D100822
-
Hsiangkai Wang authored
Differential Revision: https://reviews.llvm.org/D100821
-
Craig Topper authored
We have several extensions that need i32 to be Custom for INTRINSIC_WO_CHAIN with RV64 so enable it for all RV64. For V extension, make i32 Custom for RV64 and i64 Custom for RV32. When the i32 or i64 is legal, the operation action doesn't matter. LegalizeDAG checks MVT::Other rather than the real type.
-
Ben Shi authored
Reviewed by: craig.topper Differential Revision: https://reviews.llvm.org/D101244
-
Craig Topper authored
This teaches DAG combine that shift amount operands for grev, gorc shfl, unshfl only read a few bits. This also teaches DAG combine that grevw, gorcw, shflw, unshflw, bcompressw, bdecompressw only consume the lower 32 bits of their inputs. In the future we can teach SimplifyDemandedBits to also propagate demanded bits of the output to the inputs in some cases.
-
Levy Hsu authored
RV32/64: bcompress bdecompress RV64 ONLY: bcompressw bdecompressw Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D101143
-
Jinsong Ji authored
https://reviews.llvm.org/D99400 set clang DefaultDebuggerTuning for AIX to dbx. However, we still need to update the target default so that llc and other tools will get the same default debuggertuning, and avoid passing extra options in LTO. Reviewed By: #powerpc, shchenz, dblaikie Differential Revision: https://reviews.llvm.org/D101197
-
Lang Hames authored
In EHFrameRegistrationPlugin::notifyTransferringResources if SrcKey had eh-frames associated but DstKey did not we would create a new entry for DskKey, invalidating the iterator for SrcKey in the process. This commit fixes that by removing SrcKey first in this case.
-
Nathan Ridge authored
Differential Revision: https://reviews.llvm.org/D100741
-
Nathan Ridge authored
Differential Revision: https://reviews.llvm.org/D100731
-
Nathan Ridge authored
Differential Revision: https://reviews.llvm.org/D100715
-
Vitaly Buka authored
-
Vitaly Buka authored
-
Vitaly Buka authored
Reviewed By: morehouse Differential Revision: https://reviews.llvm.org/D100998
-
Roman Lebedev authored
[NFC][X86][AVX2] Add baseline CodeGen/CostModel tests for interleaved loads/stores of i16 w/ strides 2/3/4 `X86TTIImpl::getInterleavedMemoryOpCostAVX2()` currently contains data only for a handful of tuples. For now, at least add tests for a few more. I'm guessing that we care how well the patterns codegen since we use their presumed cost for vectorization decisions, so i've added codegen tests too. There's one really easy caveat for these codegen tests: for interleaved load tests, we really have to ensure that the deinterleaved vectors are escaped separately. Similarly for stores.
-
Nathan Ridge authored
[clangd] Use HeuristicResolver to produce a better semantic token for name referring to UnresolvedUsingValueDecl Fixes https://github.com/clangd/clangd/issues/686 Differential Revision: https://reviews.llvm.org/D99056
-
Nathan Ridge authored
For now, use the token kind Unknown. We may be able to improve on this using HeuristicResolver. Differential Revision: https://reviews.llvm.org/D99052
-
Martin Storsjö authored
[googlemock] Fix warnings about superfluous semicolons after 68ff493d. NFC.
-
Nemanja Ivanovic authored
Bootstrap with `-Werror` is currently broken due to D79714. This patch is required to bring the bootstrap bot back to green. The code will likely need to be fixed and the pragmas removed in due time, but for now we need to bring the bot back up. Bot that is currently failing: https://lab.llvm.org/buildbot/#/builders/36/builds/7680 Differential Revision: https://reviews.llvm.org/D101214
-
Vitaly Buka authored
-
Min-Yih Hsu authored
Try to fix bug 49974. This patch fixes two issues: 1. BL does not use predicate (BL_pred is the predicate version of BL), so we shouldn't add predicate operands in DecodeBranchImmInstruction. 2. Inside DecodeT2AddSubSPImm, we shouldn't add predicate operands into the MCInst because ARMDisassembler::AddThumbPredicate will do that for us. However, we should handle CC-out operand for t2SUBspImm and t2AddspImm. Differential Revision: https://reviews.llvm.org/D100585 -
Michał Górny authored
Differential Revision: https://reviews.llvm.org/D100554
-
Michał Górny authored
Differential Revision: https://reviews.llvm.org/D100547
-
Florian Hahn authored
This patch adds a blocksOnly helpers which take an iterator range over VPBlockBase * or const VPBlockBase * and returns an interator range that only include BlockTy blocks. The accesses are casted to BlockTy. Reviewed By: a.elovikov Differential Revision: https://reviews.llvm.org/D101093
-
- Apr 25, 2021
-
-
LLVM GN Syncbot authored
-
Tomasz Miąsko authored
The StringView::substr now accepts a substring starting position and its length instead of previous non-standard `from` & `to` positions. All uses of two argument StringView::substr are in MicrosoftDemangler and have 0 as a starting position, so no changes are necessary. This also fixes a bug where attempting to extract a suffix with substr (a `to` position equal to size) would return a substring without the last character. Fixing the issue should not introduce observable changes in the demangler, since as currently used, a second argument to StringView::substr is either: 1) a result of a successful call to StringView::find and so necessarily smaller than size., or 2) in the case of Demangler::demangleCharLiteral potentially equal to size, but with demangler expecting more data to follow later on and failing either way. Reviewed By: #libc_abi, ldionne, erik.pilkington Differential Revision: https://reviews.llvm.org/D100246
-
Simon Pilgrim authored
Revert rG2149aa73 "[X86] Add support for reusing ZF etc. from locked XADD instructions (PR20841)" This might be the cause of some msan build failures - I don't have access to a msan build right now, so this is a speculative revert.
-
LLVM GN Syncbot authored
-
Mark de Wever authored
During the review of D97115 it was mentioned adding the `<utility>` header for `__to_underlying` was a bit unfortunate. Nowadays we tend to implement smaller headers, so a good reason to move `std::to_underlying` to its own header and adjust `<charconv>` to use the new header. Differential Revision: https://reviews.llvm.org/D101233
-
Stephen Kelly authored
Differential Revision: https://reviews.llvm.org/D93325
-
Stephen Kelly authored
Differential Revision: https://reviews.llvm.org/D101049
-
Simon Pilgrim authored
XADD has the same EFLAGS behaviour as ADD
-
Simon Pilgrim authored
-
Simon Pilgrim authored
-
Florian Hahn authored
-
Florian Hahn authored
This patch updates performSymbolicPredicateInfoEvaluation to manage registering additional dependencies using ExprResult. Similar to D99987, this fixes an issues where we failed to track the correct dependency for a phi-of-ops value, which is marked as temporary. Fixes PR49873. Reviewed By: asbirlea, ruiling Differential Revision: https://reviews.llvm.org/D100560
-
Hsiangkai Wang authored
We only apply `clang_builtin_alias` to non-masked builtins. Masked builtins could not use `clang_builtin_alias` because the operand order is different between overloaded intrinsics and builtins. A bunch of test cases need to be updated. Differential Revision: https://reviews.llvm.org/D100658
-
Simon Pilgrim authored
-