- Sep 20, 2022
-
-
Vitaly Buka authored
Followup to 72b77616 Reviewed By: nlopes Differential Revision: https://reviews.llvm.org/D133967
-
Kazu Hirata authored
This patch fixes warnings during a release build: mlir/lib/Dialect/Transform/IR/TransformInterfaces.cpp:198:52: error: lambda capture 'this' is not used [-Werror,-Wunused-lambda-capture] bolt/lib/Rewrite/RewriteInstance.cpp:5318:18: error: unused variable 'HasNoAddress' [-Werror,-Wunused-variable]
-
Stanley Winata authored
Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D132881
-
Wei Yi Tee authored
- Update `transfer` and `diagnose` to take `const CFGElement *` as input in `Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel`. - Update `clang-tools-extra/clang-tidy/bugprone/UncheckedOptionalAccessCheck.cpp` accordingly. - Rename `runDataflowAnalysisOnCFG` to `runDataflowAnalysis` and remove the deprecated `runDataflowAnalysis` (this was only used by the now updated optional check). Reviewed By: gribozavr2, sgatev Differential Revision: https://reviews.llvm.org/D133930
-
Stanley Winata authored
-Add awareness to Kernel vs Shader capability for memref to SPIR-V lowering. -Add lowering using spv.PtrAccessChain for Kernel capability. -Enable lowering from scalar pointee types for kernel capabilities. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D132714
-
Haojian Wu authored
It is possible that we can pass a null ParamType to CheckNonTypeTemplateParameter -- the ParamType var can be reset to a null type on Line 6940, and the followed bailout if is not entered. Differential Revision: https://reviews.llvm.org/D134180
-
Florian Hahn authored
Epilogue vectorization uses isScalarAfterVectorization to check if widened versions for inductions need to be generated and bails out in those cases. At the moment, there are scenarios where isScalarAfterVectorization returns true but VPWidenPointerInduction::onlyScalarsGenerated would return false, causing widening. This can lead to widened phis with incorrect start values being created in the epilogue vector body. This patch addresses the issue by storing the cost-model decision in VPWidenPointerInductionRecipe and restoring the behavior before 151c1443. This effectively reverts 151c1443, but the long-term fix is to properly support widened inductions during epilogue vectorization Fixes #57712.
-
Craig Topper authored
Reviewed By: fhahn Differential Revision: https://reviews.llvm.org/D134086
-
Simon Pilgrim authored
-
Krzysztof Parzyszek authored
-
Vitaly Buka authored
-
Craig Topper authored
My understanding is that NoImplicitFloat, despite it's name, is supposed to disable all vectors not just float vectors. Reviewed By: efriedma Differential Revision: https://reviews.llvm.org/D134084
-
zhijian authored
ninja: build stopped: subcommand failed.
-
Lei Zhang authored
Reviewed By: ThomasRaoux, nicolasvasilache Differential Revision: https://reviews.llvm.org/D133909
-
Mathieu Fehr authored
Dynamic dialects are dialects that can be defined at runtime. Dynamic dialects are extensible by new operations, types, and attributes at runtime. Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D125201
-
Michał Górny authored
Make `--config`, `--no-default-config` and `--config-*-dir` CoreOptions to enable their availability to all clang driver modes. This improves consistency given that the default set of configuration files is processed independently of mode anyway. Differential Revision: https://reviews.llvm.org/D134191
-
Sebastian Peryt authored
This is the first patch in a series intended for removing flag -enable-new-pm=0 from lit tests. This is part of a bigger effort of completely removing legacy code related to legacy pass manager in favor of currently default new pass manager. In this patch flag has been removed only from tests where no significant change has been required because checks has been duplicated for both PMs. Reviewed By: fhahn Differential Revision: https://reviews.llvm.org/D134150
-
Felipe de Azevedo Piovezan authored
A common debugging pattern is to set a breakpoint that only stops after a number of hits is recorded. The current implementation never resets the hit count of breakpoints; as such, if a user re-`run`s their program, the debugger will never stop on such a breakpoint again. This behavior is arguably undesirable, as it renders such breakpoints ineffective on all but the first run. This commit changes the implementation of the `Will{Launch, Attach}` methods so that they reset the _target's_ breakpoint hitcounts. Differential Revision: https://reviews.llvm.org/D133858 -
mydeveloperday authored
Working in a mixed environment of both vscode/vim with a team configured prettier configuration, this can leave clang-format and prettier fighting each other over the formatting of arrays, both simple arrays of elements. This review aims to add some "control knobs" to the Json formatting in clang-format to help align the two tools so they can be used interchangeably. This will allow simply arrays `[1, 2, 3]` to remain on a single line but will break those arrays based on context within that array. Happy to change the name of the option (this is the third name I tried) Reviewed By: HazardyKnusperkeks, owenpan Differential Revision: https://reviews.llvm.org/D133589
-
Keith Smiley authored
I don't think __obj_selrefs is a thing, but __objc_selrefs definitely is. Differential Revision: https://reviews.llvm.org/D130221
-
Rahul Joshi authored
Use isa<> instead of dyn_cast END_PUBLIC Differential Revision: https://reviews.llvm.org/D134092
-
Krzysztof Parzyszek authored
Enable creating an idiom: V -> opJoin(SplitVectorOp(V))
-
Simon Pilgrim authored
This was achieved with the 'cost-tables vs llvm-mca' script D103695
-
Xiang Li authored
Remove check which disable BitInt as element type for ext_vector. Enabling it for HLSL to use _BitInt(16) as 16bit int at https://reviews.llvm.org/D133668 Reviewed By: erichkeane Differential Revision: https://reviews.llvm.org/D133634
-
zhijian authored
https://lab.llvm.org/buildbot/#/builders/174/builds/13432 XCOFFObjectFile.cpp:805:12: error: reinterpret_cast from 'unsigned long' to 'uintptr_t' (aka 'unsigned int') is not allowed return reinterpret_cast<uintptr_t>(0ul);
-
Florian Hahn authored
The test requires the AArch64 backend, so move it to the right subdir.
-
Florian Hahn authored
Includes a test for the miscompile in #57712.
-
Krzysztof Parzyszek authored
-
Mingming Liu authored
Use opaqueptr for test case llvm/test/Transforms/SimplifyCFG/preserve-llvm-loop-metadata.ll. - Adjust variable number accordingly since bitcast between different pointer types are not necessary. Differential Revision: https://reviews.llvm.org/D134159
-
- Sep 19, 2022
-
-
zhijian authored
https://lab.llvm.org/buildbot/#/builders/216/builds/9977 XCOFFOtFile.cpp: error C3487: 'unsigned long': all return expressions must deduce to the same type: previously it was 'uintptr_t'
-
Katherine Rasmussen authored
Write a semantics test for the atomic intrinsic subroutine, atomic_and. Reviewed By: rouson Differential Revision: https://reviews.llvm.org/D133727
-
Simon Pilgrim authored
This was achieved with the 'cost-tables vs llvm-mca' script D103695
-
spupyrev authored
After BOLT's merge to LLVM, there are two (almost identical) versions of the code layout algorithm. The diff unifies the implementations by keeping the one in LLVM. There are mild changes in the resulting block orders. I tested the changes extensively both on the clang binary and on prod services. Didn't see stat sig differences on average. Reviewed By: Amir Differential Revision: https://reviews.llvm.org/D129895
-
zhijian authored
Summary: according nm in AIX OS , https://www.ibm.com/docs/en/aix/7.2?topic=n-nm-command In AIX OS, The default is to process 32-bit object files (ignore 64-bit objects). The mode can also be set with the OBJECT_MODE environment variable. For example, OBJECT_MODE=64 causes nm to process any 64-bit objects and ignore 32-bit objects. The -X flag overrides the OBJECT_MODE variable. In non AIX OS. The default is to process all support object files. and not support the OBJECT_MODE environment variable. Reviewers: James Henderson Differential Revision: https://reviews.llvm.org/D132494
-
Tue Ly authored
-
Louis Dionne authored
In https://llvm.org/D56913, we added an emulation for the __atomic_always_lock_free compiler builtin when compiling in Freestanding mode. However, the emulation did (and could not) give exactly the same answer as the compiler builtin, which led to a potential ABI break for e.g. enum classes. After speaking to the original author of D56913, we agree that the correct behavior is to instead always use the compiler builtin, since that provides a more accurate answer, and __atomic_always_lock_free is a purely front-end builtin which doesn't require any runtime support. Furthermore, it is available regardless of the Standard mode (see https://godbolt.org/z/cazf3ssYY). However, this patch does constitute an ABI break. As shown by https://godbolt.org/z/1eoex6zdK: - In LLVM <= 11.0.1, an atomic<enum class with 1 byte> would not contain a lock byte. - In LLVM >= 12.0.0, an atomic<enum class with 1 byte> would contain a lock byte. This patch breaks the ABI again to bring it back to 1 byte, which seems like the correct thing to do. Fixes #57440 Differential Revision: https://reviews.llvm.org/D133377
-
Simon Pilgrim authored
-
Sam McCall authored
This feature relies on Relations in the index being complete. An out-of-tree index implementation is missing some override relations, so such renames end up breaking the code. We plan to fix it, but this flag is a cheap band-aid for now. Differential Revision: https://reviews.llvm.org/D133440
-
Simon Pilgrim authored
This was achieved with the 'cost-tables vs llvm-mca' script D103695
-
zhijian authored
Summary: llvm-readobj support a new option --exception-section for xcoff object file. https://www.ibm.com/docs/en/aix/7.2?topic=formats-xcoff-object-file-format#XCOFF__iua3i23ajbau Reviewers: James Henderson,Paul Scoropan Differential Revision: https://reviews.llvm.org/D133030
-