- Nov 30, 2022
-
-
Valentin Clement authored
Use BaseBoxType in `genComponentByComponentAssignment` so the component by component assignment involving polymorphic entities does not fall back to scalar assignment. Reviewed By: PeteSteinfeld Differential Revision: https://reviews.llvm.org/D138927
-
Aaron Ballman authored
This completes the initial pass over all of the C DRs.
-
Brendon Cahoon authored
This patch fixes a "failed to annotate CFG" error in SIAnnotateControlFlow. The problem occurs when there are divergent and uniform unreachable/return blocks in the same region. In this case, AMDGPUUnifyDivergentExitNodes does not create a unified block so the region contains multiple exits. StructurizeCFG does not work properly when there are multiple exits, so the neccessary CFG transformations do not occur along divergent control flow. Subsequently, SIAnnotateControlFlow processes the path to the divergent exit block, but may only partially process blocks along a unform control flow path to another exit block. This patch fixes the bug by creating a single exit block when there is a divergent exit block in the function. Differential revision: https://reviews.llvm.org/D136892
-
Jan Sjodin authored
This patch moves the outlined function registration, function attribute configuration and function ID creation to the OpenMPIRBuilder. This will later be used by flag as well. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D137587
-
Keith Smiley authored
ld64 rejects `-no_pie` when targeting arm64, this mirrors that behavior. Newer versions of ld64 also reject it based on minimum OS versions, but that logic isn't in an open source dump yet so it isn't implemented here. Fixes https://github.com/llvm/llvm-project/issues/59115 Differential Revision: https://reviews.llvm.org/D138884
-
Kelvin Li authored
Differential Revision: https://reviews.llvm.org/D138848
-
Heejin Ahn authored
This moves debug info tests in `test/CodeGen/WebAssembly` into `test/DebugInfo/WebAssembly`, to gather all wasm debug info related tests there. Reviewed By: dschuff Differential Revision: https://reviews.llvm.org/D138871
-
Kazu Hirata authored
This patch fixes: bolt/lib/Passes/CallGraph.cpp:27:15: error: unused function 'hash_int64_fallback' [-Werror,-Wunused-function] bolt/lib/Passes/CallGraph.cpp:40:15: error: unused function 'hash_int64' [-Werror,-Wunused-function]
-
Xing Xue authored
Summary: libc++abi LIT test case vec_reg_restore.pass.cpp for AIX uses instructions mtvsrd and mfvsrd that are only available on Power8 CPU and higher, and therefore, fails on Power7 which is supported by the current AIX Clang. This patch replaces mtvsrd/mfvsrd with vector instructions available on Power7. Reviewed by: nemanjai Differential Revision: https://reviews.llvm.org/D138667
-
Philip Reames authored
-
Kelvin Li authored
The functionality of LSHIFT and RSHIFT intrinsics is the same as the standard SHIFTL and SHIFTA intrinsics respectively. The patch is to alias the two intrinsics to the standardized ones. Differential Revision: https://reviews.llvm.org/D138839
-
Vitaly Buka authored
-
Vitaly Buka authored
D132090 is too verbose. Don't explain obvious. Add simpler explanation of rounding reasoning. Differential Revision: https://reviews.llvm.org/D138773
-
Vitaly Buka authored
Differential Revision: https://reviews.llvm.org/D138772
-
Vitaly Buka authored
Differential Revision: https://reviews.llvm.org/D138771
-
Mike Rice authored
When late parsed templates are used with PCH tokens are serialized. The existing code does not handle annotation tokens which can occur due to various pragmas. This patch implements the serialization for annot_pragma_loop_hint. This also enables use of OpenMP pragmas and #pragma unused which do not need special serialization of the PtrData field. Fixes https://github.com/llvm/llvm-project/issues/39504 Differential Revision: https://reviews.llvm.org/D138453
-
Nikolas Klauser authored
Reviewed By: ldionne, #libc Spies: libcxx-commits Differential Revision: https://reviews.llvm.org/D137597
-
Nikolas Klauser authored
This bug was dicoved when implementing P2438R2. Fixes #57190 Reviewed By: ldionne, Mordante, #libc Spies: libcxx-commits Differential Revision: https://reviews.llvm.org/D138069
-
Shafik Yaghmour authored
[Clang] Fix Sema::ClassifyName so that it classifies EnumConstantDecl as NonType when they are brought into scope via using enum Currently Sema::ClassifyName(...) in some cases when an enumerator is brought into scope via using enum during lookup it can end up being classified as an OverloadSet. It looks like this was never accounted for when using enum support was implemented and we need to add a check to allow an EnumConstantDecl to be classified as NonType even when it is a class member. This fixes: https://github.com/llvm/llvm-project/issues/58057 https://github.com/llvm/llvm-project/issues/59014 https://github.com/llvm/llvm-project/issues/54746 Differential Revision: https://reviews.llvm.org/D138091
-
Paul Robinson authored
Part of the project to eliminate special handling for triples in lit expressions.
-
Lei Huang authored
-
Paul Robinson authored
"win32" is never defined as a lit feature, AFAICT, and Windows bots appear to be running this just fine. Part of the project to eliminate special handling for triples in lit expressions.
-
Roy Sundahl authored
SED differs between GNU and BSD in handling semicolon and the use of '\n' in regex patterns. For macOS we can't use these GNU extensions. rdar://102686948 Differential Revision: https://reviews.llvm.org/D138824
-
Jay Foad authored
-
Matt Arsenault authored
From ee29a846
-
Tarun Prabhu authored
The implementation follows the patterns established by the lowering of other similar intrinsics. In addition to the code for lowering, the DoTotalReduction template had to be fixed to correctly break when signaled to do so by the accumulator function. Differential Revision: https://reviews.llvm.org/D138140
-
Tom Eccles authored
These are now fully implemented, see https://reviews.llvm.org/D137390 https://reviews.llvm.org/D137391 https://reviews.llvm.org/D137456 https://reviews.llvm.org/D137580 https://reviews.llvm.org/D137602 https://reviews.llvm.org/D138048 These flags are still tested in flang/test/Driver/frontend-forwarding.f90 and flang/test/Lower/fast-math-arithmetic.f90 Differential revision: https://reviews.llvm.org/D138907
-
Paul Robinson authored
Part of the project to eliminate special handling for triples in lit expressions.
-
Jonas Devlieghere authored
This patch makes SWIG itself an auto-detected dependency. This allows us to look for SWIG once in a centralized place and makes it easier downstream to detect whether to use the static bindings. Differential revision: https://reviews.llvm.org/D138879
-
Kazu Hirata authored
This reverts commit a1255dc4. This patch results in: llvm/lib/CodeGen/SanitizerBinaryMetadata.cpp:57:17: error: no member named 'size' in 'llvm::MDTuple'
-
Aaron Ballman authored
This addresses the issue found by: https://lab.llvm.org/buildbot/#/builders/92/builds/36372
-
Paul Robinson authored
-
Matt Arsenault authored
Take the type from the alloca, not the type to use for allocas. Fixes issue 59250.
-
Matt Arsenault authored
This was assuming a direct reference to the global variable. The constant string is placed in addrspace 4, and has a constexpr addrspacecast to the generic address space.
-
Dmitry Vyukov authored
Currently per-function metadata consists of: (start-pc, size, features) This adds a new UAR feature and if it's set an additional element: (start-pc, size, features, stack-args-size) Reviewed By: melver Differential Revision: https://reviews.llvm.org/D136078
-
Jay Foad authored
Differential Revision: https://reviews.llvm.org/D138916
-
Philip Reames authored
I had reverted this before the holiday week because a problem was reported with a related change (D137140 - scalable vector known bits in DAG). I had initially confused the two patches, and then decided to leave this reverted out an abundance of caution. Now that we're through the holiday week, reapplying. I also roled in fixes for several post commit review comments that hadn't landed with the original change. Original commit message This is a continuation of the series of patches adding lane wise support for scalable vectors in various knownbit-esq routines. The basic idea here is that we track a single lane for scalable vectors which corresponds to an unknown number of lanes at runtime. This is enough for us to perform lane wise reasoning on many arithmetic operations. Differential Revision: https://reviews.llvm.org/D137141
-
Corentin Jabot authored
Reviewed By: #clang-language-wg, erichkeane Differential Revision: https://reviews.llvm.org/D138918
-
Matt Arsenault authored
The pass isn't doing anything with it, and the line wrapping is confusing update_test_checks.
-
Guillaume Chatelet authored
This has been found while trying to remove the last few places relying on `unsigned` to convey alignment operations. This seems to be untested. Differential Revision: https://reviews.llvm.org/D138784
-