- Jun 24, 2020
-
-
Haojian Wu authored
Summary: Looks like this is a fallout when we introduce the error-bit in Type. Reviewers: sammccall Reviewed By: sammccall Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D82099
-
LLVM GN Syncbot authored
-
Haojian Wu authored
Summary: otherwise we'll run into code path which expects a good base specifiers, and lead to crashes. The crash only occurs in template instantiations (in non-template case, the bad base specifiers are dropped during parsing.) crash stacktrace: ``` clang: llvm-project/clang/lib/Sema/SemaInit.cpp:7864: clang::ExprResult clang::InitializationSequence::Perform(clang::Sema &, const clang::InitializedEntity &, const clang::InitializationKind &, clang::MultiExprArg, clang::QualType *): Assertion `Kind.getKind() == InitializationKind::IK_Copy || Kind.isExplicitCast() || Kind.getKind() == InitializationKind::IK_DirectList' failed. PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: ``` Reviewers: sammccall Reviewed By: sammccall Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D82086
-
Kazushi (Jam) Marukawa authored
Summary: This patch enables compilation of C code for the VE target with Clang. Differential Revision: https://reviews.llvm.org/D79411
-
Siva Chandra authored
-
Craig Topper authored
[X86] Speculatively fix to X86AvoidStoreForwardingBlocks not deference a machine mem operand if there isn't one present. Eric Christopher informed me that FastISel memcpy handling creates load/store instructions without mem operands. We should fix that, but I doubt that's the only case of missed mem operands so seems better to be defensive here. I don't have a test case yet, but I'll try to add one if i get a test from Eric.
-
Siva Chandra Reddy authored
-
Siva Chandra Reddy authored
Specifically: copysignl, frexpl, logbl and modfl have been added. Reviewers: asteinhauser Differential Revision: https://reviews.llvm.org/D82357
-
Craig Topper authored
[X86] Add mayLoad/mayStore flags to some X87 instructions that don't have isel patterns to infer them from. Should remove part of the differences in D81833 due to some some of these getting isel patterns.
-
Jonas Devlieghere authored
-
Alex Lorenz authored
The test should only run with a Darwin driver only.
-
Alex Lorenz authored
is running on an Apple Silicon mac This change allows users to use `-arch arm64` to build for mac when running it on Apple Silicon mac without explicit `-target` option. Differential Revision: https://reviews.llvm.org/D82428
-
Alex Lorenz authored
The cmake build of LLVM now uses the appropriate arm64 arch for the host triple when building llvm-project on an Apple Silicon mac. Differential Revision: https://reviews.llvm.org/D82428
-
https://reviews.llvm.org/D82417Rahul Joshi authored
Undo as it does not conform to LLVM coding style (https://llvm.org/docs/CodingStandards.html#anonymous-namespaces)
-
Vitaly Buka authored
Summary: Currently, there is no way to let the `InternalSymbolizer` implemented functions know if inline frames should be symbolized. This patch updates the function `__sanitizer_symbolize_code` to include a parameter for this ASAN option and toggle between LLVM symbolization functions when appropriate. Fixes the following two failing tests when internal symbolization is enabled: ``` SanitizerCommon-*-x86_64-Linux :: print-stack-trace.cpp SanitizerCommon-*-x86_64-Linux :: symbolize_pc_inline.cpp ``` Reviewers: vitalybuka, kcc, filcab Reviewed By: vitalybuka Subscribers: #sanitizers Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D79280
-
Eli Friedman authored
The indexing was messed up, so the result was completely broken. Shuffle constant exprs are rare in practice; without vscale types, constant folding generally elminates them. So sort of hard to trip over. Fixes regression from D72467. Differential Revision: https://reviews.llvm.org/D80330
-
Ahsan Saghir authored
Summary: This patch adds support for `vector bool __int128` type for Power10. Reviewers: #powerpc, hfinkel, lei, stefanp, amyk Reviewed By: #powerpc, lei, amyk Subscribers: lei, amyk, wuzish, nemanjai, shchenz, cfe-commits Tags: #llvm, #powerpc, #clang Differential Revision: https://reviews.llvm.org/D81816
-
Amara Emerson authored
There's more smarts in AArch64ISelLowering that we don't have yet, but this change incrementally improves some of the more common patterns. I think future iterations will want to use some combination of PostLegalizerCombiner and the selector to catch the other cases. Differential Revision: https://reviews.llvm.org/D82340
-
Eli Friedman authored
This function is deceptive at best: it doesn't return what you'd expect. If you have an arbitrary GlobalValue and you want to determine the alignment of that pointer, Value::getPointerAlignment() returns the correct value. If you want the actual declared alignment of a function or variable, GlobalObject::getAlignment() returns that. This patch switches all the users of GlobalValue::getAlignment to an appropriate alternative. Differential Revision: https://reviews.llvm.org/D80368
-
Vedant Kumar authored
Summary: According to HowToUpdateDebugInfo.rst: ``` Preserving the debug locations of speculated instructions can make it seem like a condition is true when it's not (or vice versa), which leads to a confusing single-stepping experience ``` This patch follows the recommendation to drop debug locations on speculated instructions. Reviewers: aprantl, davide Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D82420
-
Matt Arsenault authored
I forgot to copy the new fixed function ABI into GlobalISel, so this was mismatched with the DAG compiled calling function. This was allocating part of the argument list to v31, which was supposed to be reserved for the workitem IDs.
-
Sam Clegg authored
Emscripten doesn't use protected visibility either. Differential Revision: https://reviews.llvm.org/D82346
-
Rahul Joshi authored
to make the debug output readable. Differential Revision: https://reviews.llvm.org/D82417
-
Eli Friedman authored
The code was assuming all incomplete types don't have meaningful alignment, but incomplete arrays do have meaningful alignment. Fixes https://bugs.llvm.org/show_bug.cgi?id=45710 Differential Revision: https://reviews.llvm.org/D79052
-
Richard Smith authored
C++ unqualified name lookup searches template parameter scopes immediately after finishing searching the entity the parameters belong to. (Eg, for a class template, you search the template parameter scope after looking in that class template and its base classes and before looking in the scope containing the class template.) This is complicated by the fact that scope lookup within a template parameter scope looks in a different sequence of places prior to reaching the end of the declarator-id in the template declaration. We used to approximate the proper lookup rule with a hack in the scope / decl context walk inside name lookup. Now we instead compute the lookup parent for each template parameter scope. In order to get this right, we now make sure to enter a distinct Scope for each template parameter scope, and make sure to re-enter the enclosing class scopes properly when handling delay-parsed regions within a class.
-
Amy Huang authored
-
Eli Friedman authored
Implement them on top of sdiv/udiv, similar to what we do for integer types. Potential future work: implementing i8/i16 srem/urem, optimizations for constant divisors, optimizing the mul+sub to mls. Differential Revision: https://reviews.llvm.org/D81511
-
Eli Friedman authored
This has two advantages: one, it's simpler, and two, it doesn't require heroic pattern matching with scalable vectors. Also includes a small fix to DataLayout to allow the scalable vector testcase to work correctly. Differential Revision: https://reviews.llvm.org/D82061
-
Leonard Chan authored
This is the followup to D77647 which implements handling for the new R_AARCH64_PLT32 relocation type in lld. This relocation would benefit the PIC-friendly vtables feature described in D72959. Differential Revision: https://reviews.llvm.org/D81184
-
Petr Hosek authored
This matches the equivalent flag implemented in GNU linkers, see https://sourceware.org/pipermail/binutils/2020-June/111685.html for the associated discussion. Differential Revision: https://reviews.llvm.org/D55682
-
Tony authored
Summary: - Add product names for some processors. - Correct XNACK support for a processor. Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, kerbowa, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D82348
-
Richard Smith authored
other late-parsed class component handling. No functionality change intended.
-
Sam Clegg authored
Currently, section indices may be passed uninitialized by value if writing the section fails. Removes section indices form class initialization and returns them from the write{Code,Data}Section function calls instead. Patch by Gui Andrade! Differential Revision: https://reviews.llvm.org/D81702 -
aartbik authored
Note that this does not mean that check-mlir will run check-mlir-integration tests for all configurations. You still need to do a set up with the flag MLIR_INCLUDE_INTEGRATION_TESTS set to ON in order to activate the integration test. Reviewed By: jpienaar Differential Revision: https://reviews.llvm.org/D82413
-
David Blaikie authored
Unused since r255423 / D15140 / 4e52d6f8 Found indirectly by assessing -debug-info-kind=constructors and observing the EHPadEndScope type was never emitted because the constructor is never called. (all credit to Amy Huang for identifying this issue)
-
Alex Lorenz authored
-
Jonas Devlieghere authored
Fixes error: invalid operands to binary expression ('llvm::StringRef' and 'const char [6]') -
Luís Marques authored
This patch adds tests for folds of ADDIs into load/stores, focusing on load/stores with nonzero offsets. When the offset is nonzero we currently don't do the fold. A follow-up patch will improve on that. Differential Revision: https://reviews.llvm.org/D79689
-
Eric Schweitz authored
This is a set of type building models that is specific to the lowering process. It provides the mechanism of mapping C(++) header file interfaces to the MLIR+FIR type system. It also provides some macros to build a constexpr evaluated table to runtime functions. This code is used to build the interface tables to various runtime support libraries. Differential revision: https://reviews.llvm.org/D82387
-
David Green authored
LDRD and STRD along with UBFX and SBFX are selected from DAGToDAG transforms, so do not have tblgen patterns. They don't get marked as having side effects so cannot be scheduled as efficiently as you would like. This specifically marks then as not having side effects. Differential Revision: https://reviews.llvm.org/D82358
-