- Dec 04, 2020
-
-
Christian Sigg authored
ftynse Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D92564
-
Georgii Rymar authored
`D92560` changed `ELFObjectFile::getELFFile` to return reference.
-
Georgii Rymar authored
We always have an object, so we don't have to return a pointer. Differential revision: https://reviews.llvm.org/D92560
-
Kazushi (Jam) Marukawa authored
Add vfadd, vfsub, vfmul, and vfdiv intrinsic instructions and regression tests. Reviewed By: simoll Differential Revision: https://reviews.llvm.org/D92649
-
Simon Pilgrim authored
-
Cullen Rhodes authored
It's not possible to express an extract subvector shuffle mask for a scalable vector. Reviewed By: david-arm Differential Revision: https://reviews.llvm.org/D92312
-
Simon Pilgrim authored
Ideally we'd do this inside DAGCombine but until we can make the FSHL/FSHR opcodes legal for VBMI2 it won't help us.
-
Haojian Wu authored
NamedDecl::getName() asserts the name must be an identifier. Differential Revision: https://reviews.llvm.org/D92642
-
Simon Pilgrim authored
-
Georgii Rymar authored
This is similar to what we did earlier for fields of the Section class. When a field is optional we can use the =<none> syntax in macros. This was splitted from D92478. Differential revision: https://reviews.llvm.org/D92565
-
Raphael Isemann authored
Test runs log some of their output to files inside the LLDB session dir. This session dir is shared between all tests, so all the tests have to make sure they choose a unique file name inside that directory. We currently choose by default `<test-class-name>-<test-method-name>` as the log file name. However, that means that if not every test class in the test suite has a unique class name, then we end up with a race condition as two tests will try to write to the same log file. I already tried in D83767 changing the format to use the test file basename instead (which we already require to be unique for some other functionality), but it seems the code for getting the basename didn't work on Windows. This patch instead just changes that dotest stores the log files in the build directory for the current test. We know that directory is unique for this test, so no need to generate some unique file name now. Also removes all the environment vars and parameters related to the now unused session dir. The new log paths now look like this for a failure in 'TestCppOperators`: ``` ./lldb-test-build.noindex/lang/cpp/operators/TestCppOperators.test_dwarf/Failure.log ./lldb-test-build.noindex/lang/cpp/operators/TestCppOperators.test_dsym/Failure.log ./lldb-test-build.noindex/lang/cpp/operators/TestCppOperators.test_gmodules/Failure.log ``` Reviewed By: labath Differential Revision: https://reviews.llvm.org/D92498
-
Georgii Rymar authored
This converts `reportWarning` -> `reportUniqueWarning` Differential revision: https://reviews.llvm.org/D92568
-
Raphael Isemann authored
Also add some documentation while I'm at it.
-
QingShan Zhang authored
Add a TypeLegal check for MVT::i1 and add the test.
-
Simon Pilgrim authored
Avoid unnecessary instantiation. Noticed while removing unnecessary autos
-
Simon Pilgrim authored
The X86ISD::SUBV_BROADCAST node is already VT
-
Simon Pilgrim authored
Replace X32 check prefixes with X86 - X32 is generally used for gnux triple tests
-
Martin Storsjö authored
[libcxx] [test] Add a test for conversions between wchar_t, utf8, char16_t, char32_t and windows native narrow code pages Differential Revision: https://reviews.llvm.org/D91133
-
Martin Storsjö authored
This implements the std::filesystem parts of P0482 (which is already marked as in progress), and applies the actions that are suggested in P1423. Differential Revision: https://reviews.llvm.org/D90222
-
Martin Storsjö authored
Differential Revision: https://reviews.llvm.org/D92570
-
Evgeniy Brevnov authored
Currently we have to duplicate the same checks in isPotentiallyReassociatable and tryReassociate. With simple pattern like add/mul this may be not a big deal. But the situation gets much worse when I try to add support for min/max. Min/Max may be represented by several instructions and can take different forms. In order reduce complexity for upcoming min/max support we need to restructure the code a bit to avoid mentioned code duplication. Reviewed By: mkazantsev Differential Revision: https://reviews.llvm.org/D88286
-
Evgeniy Brevnov authored
Currently we delete optimized instructions as we go. That has several negative consequences. First it complicates traversal logic itself. Second if newly generated instruction has been deleted the traversal is repeated from scratch. But real motivation for the change is upcoming change with support for min/max reassociation. Here we employ SCEV expander to generate code. As a result newly generated instructions may be inserted not right before original instruction (because SCEV may do hoisting) and there is no way to know 'next' instruction. Reviewed By: mkazantsev Differential Revision: https://reviews.llvm.org/D88285
-
Raphael Isemann authored
We keep referring to the single object created by this class as 'scratch AST/Context/TypeSystem' so at this point we might as well rename the class. It's also not involved at all in expression evaluation, so the 'ForExpressions' prefix is a bit misleading.
-
Haojian Wu authored
From https://bugs.llvm.org/show_bug.cgi?id=47219. It was crashing before the commit 1e14588d. Differential Revision: https://reviews.llvm.org/D92573
-
Kazu Hirata authored
This patch teaches the jump threading pass to call BPI->eraseBlock when it folds a conditional branch. Without this patch, BranchProbabilityInfo could end up with stale edge probabilities for the basic block containing the conditional branch -- one edge probability with less than 1.0 and the other for a removed edge. Differential Revision: https://reviews.llvm.org/D92608
-
Hanhan Wang authored
In the past, the reshape op can be folded only if the indexing map is permutation in consumer's usage. We can relax to condition to be projected permutation. This patch still limits the fusion for scalar cases. Scalar case is a corner case, because we need to decide where to put extra dims. Reviewed By: mravishankar Differential Revision: https://reviews.llvm.org/D92466
-
Kai Luo authored
-
Max Kazantsev authored
This reverts commit 4bd35cdc. The patch was reverted during the investigation. The investigation shown that the patch did not cause any trouble, but just exposed the existing problem that is addressed by the previous patch "[IndVars] Quick fix LHS/RHS bug". Returning without changes.
-
Max Kazantsev authored
The code relies on fact that LHS is the NarrowDef but never really checks it. Adding the conservative restrictive check, will follow-up with handling of case where RHS is a NarrowDef.
-
Fangrui Song authored
-
David Blaikie authored
-
Mircea Trofin authored
Sometimes the check-prefixes is followed by %s, and we want to keep a white space before it. Differential Revision: https://reviews.llvm.org/D92542
-
Qiu Chaofan authored
Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D92544
-
Jianzhou Zhao authored
This is a child diff of D92261. It extended TLS arg/ret to work with aggregate types. For a function t foo(t1 a1, t2 a2, ... tn an) Its arguments shadow are saved in TLS args like a1_s, a2_s, ..., an_s TLS ret simply includes r_s. By calculating the type size of each shadow value, we can get their offset. This is similar to what MSan does. See __msan_retval_tls and __msan_param_tls from llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp. Note that this change does not add test cases for overflowed TLS arg/ret because this is hard to test w/o supporting aggregate shdow types. We will be adding them after supporting that. Reviewed-by: morehouse Differential Revision: https://reviews.llvm.org/D92440
-
David Blaikie authored
IntrusiveRefCntPtr: Ensure RefCount is initialized during ThreadSafeRefCountedBase copy construction Post commit feedback on 2e83ccc2 from Nathan James!
-
Arthur Eubanks authored
In preparation for https://reviews.llvm.org/D92616 which will remove angle brackets from pass manager/adaptor names. Reviewed By: dexonsmith, thakis Differential Revision: https://reviews.llvm.org/D92625
-
Nico Weber authored
This helps us catch cases where we add support for a flag but forget to remove HelpHidden from Options.td. More explicit alternative to D92455 Differential Revision: https://reviews.llvm.org/D92575
-
Sam Clegg authored
Don't early return from layoutMemory in PIC mode before we have set the memory limits. This matters in particular with shared-memory + PIC because shared memories require maximum size. Secondly, when we need a maximum, but the user does not supply one, default to MAX_INT rather than 0 (defaulting to zero is completely useless and means that building with -shared didn't previously work at all without --maximum-memory, because zero is never big enough). This is part of an ongoing effort to enable dynamic linking with threads in emscripten. See https://github.com/emscripten-core/emscripten/issues/3494 Differential Revision: https://reviews.llvm.org/D92528
-
Duncan P. N. Exon Smith authored
Found this by chance when looking at the InMemoryFileSystem API, seems like an easy cleanup. Differential Revision: https://reviews.llvm.org/D90893
-
River Riddle authored
This mirrors the file structure of Types. Differential Revision: https://reviews.llvm.org/D92499
-