- Dec 30, 2020
-
-
Bogdan Graur authored
This was introduced in commit: 981a0bd8. Differential Revision: https://reviews.llvm.org/D93944
-
Sanjay Patel authored
This is no-functional-change-intended (AFAIK, we can't isolate this difference in a regression test). That's because the callers should be setting the IRBuilder's FMF field when creating the reduction and/or setting those flags after creating. It doesn't make sense to override this one flag alone. This is part of a multi-step process to clean up the FMF setting/propagation. See PR35538 for an example.
-
Juneyoung Lee authored
X-inseltpoison.ll is a copy of X.ll with insertelement/shufflevector's placeholder replaced with poison. This commit removes a few redundant functions which do not contain any shufflevector/insertelement.
-
Wang, Pengfei authored
-
Juneyoung Lee authored
-
Juneyoung Lee authored
As mentioned in D93793, there are quite a few places where unary `IRBuilder::CreateShuffleVector(X, Mask)` can be used instead of `IRBuilder::CreateShuffleVector(X, Undef, Mask)`. Let's update them. Actually, it would have been more natural if the patches were made in this order: (1) let them use unary CreateShuffleVector first (2) update IRBuilder::CreateShuffleVector to use poison as a placeholder value (D93793) The order is swapped, but in terms of correctness it is still fine. Reviewed By: spatel Differential Revision: https://reviews.llvm.org/D93923
-
Alexander Belyaev authored
-
Marek Kurdej authored
-
Juneyoung Lee authored
-
Juneyoung Lee authored
This patch adds support for select form of and/or. Currently there is an ongoing effort for moving towards using `select a, b, false` instead of `and i1 a, b` and `select a, true, b` instead of `or i1 a, b` as well. D93065 has links to relevant changes. Alive2 proof: (undef input was disabled due to timeout :( ) - and: https://alive2.llvm.org/ce/z/AgvFbQ - or: https://alive2.llvm.org/ce/z/KjLJyb Differential Revision: https://reviews.llvm.org/D93935
-
zhanghb97 authored
- Add `PyAffineMap` to wrap around `MlirAffineMap`. - Add `mlirPythonAffineMapToCapsule` and `mlirPythonCapsuleToAffineMap` to interoperate with python capsule. - Add and test some simple bindings of `PyAffineMap`. Differential Revision: https://reviews.llvm.org/D93200
-
Luo, Yuanke authored
Differential Revision: https://reviews.llvm.org/D93792
-
Fangrui Song authored
This simplifies TargetMachine::shouldAssumeDSOLocal and and gives frontend the decision to use dso_local. For LLVM synthesized functions/globals, they may lose inferred dso_local but such optimizations are probably not very useful. Note: the hasComdat() condition in canBenefitFromLocalAlias (D77429) may be dead now. (llvm/CodeGen/X86/semantic-interposition-comdat.ll) (Investigate whether we need test coverage when Fuchsia C++ ABI is clearer)
-
Andrew Litteken authored
Since some values can be swift errors, we need to make sure that we correctly propagate the parameter attributes. Tests found at: llvm/test/Transforms/IROutliner/outlining-swift-error.ll Reviewers: jroelofs, paquette Recommit of: 71867ed5 Differential Revision: https://reviews.llvm.org/D87742
-
Andrew Litteken authored
This reverts commit 71867ed5. Reverting for lack of commit messages.
-
Andrew Litteken authored
-
Juneyoung Lee authored
-
Siva Chandra Reddy authored
Namely, implementations for rint, rintf, rintl, lrint, lrintf, lrintl, llrint, llrintf and llrintl have been added. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D93889
-
Luo, Yuanke authored
The x86_amx is used for AMX intrisics. <256 x i32> is bitcast to x86_amx when it is used by AMX intrinsics, and x86_amx is bitcast to <256 x i32> when it is used by load/store instruction. So amx intrinsics only operate on type x86_amx. It can help to separate amx intrinsics from llvm IR instructions (+-*/). Thank Craig for the idea. This patch depend on https://reviews.llvm.org/D87981. Differential Revision: https://reviews.llvm.org/D91927
-
Fangrui Song authored
-
Craig Topper authored
-
Haowei Wu authored
This change adds '--write-if-changed' flag to llvm-elfabi tool. When enabled, llvm-elfabi will not overwrite the existing file if the content of the file will not be changed, which preserves the timestamp. Differential Revision: https://reviews.llvm.org/D92902
-
Stella Laurenzo authored
Differential Revision: https://reviews.llvm.org/D93928
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Kazu Hirata authored
-
ShihPo Hung authored
This patch defines vcompress intrinsics and lower to V instructions. We work with @rogfer01 from BSC to come out this patch. Authored-by:
Roger Ferrer Ibanez <rofirrim@gmail.com> Co-Authored-by:
ShihPo Hung <shihpo.hung@sifive.com> Differential revision: https://reviews.llvm.org/D93809
-
Kai Luo authored
-
Kai Luo authored
In `PPCTargetLowering::DAGCombineTruncBoolExt`, when checking if it's correct to perform the transformation for non-sign comparison, as the comment says ``` // This is neither a signed nor an unsigned comparison, just make sure // that the high bits are equal. ``` Origin check ``` if (Op1Known.Zero != Op2Known.Zero || Op1Known.One != Op2Known.One) return SDValue(); ``` is not strong enough. For example, ``` Op1Known = 111x000x; Op2Known = 111x000x; ``` Bit 4, besides bit 0, is still unknown and affects the final result. This patch fixes https://bugs.llvm.org/show_bug.cgi?id=48388. Reviewed By: nemanjai, #powerpc Differential Revision: https://reviews.llvm.org/D93092 -
Lang Hames authored
Moves all headers from Orc/RPC to Orc/Shared, and from the llvm::orc::rpc namespace into llvm::orc::shared. Also renames RPCTypeName to SerializationTypeName and Function to RPCFunction. In addition to being a more reasonable home for this code, this will make it easier for the upcoming Orc runtime to re-use the Serialization system for creating and parsing wrapper-function binary blobs.
-
Stella Laurenzo authored
* When porting npcomp to use these bindings, I ran into enough patterns of collisions that I decided to be somewhat draconian about not polluting the namespace. * With these changes all of the npcomp dialects generate and pass what tests we have. Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D93920
-
Vitaly Buka authored
-
Vitaly Buka authored
Without leaks suppressions are not needed.
-
Zakk Chen authored
Define vsext/vzext intrinsics.and lower to V instructions. Define new fraction register class fields in LMULInfo and a NoReg to present invalid LMUL register classes. Authored-by:
ShihPo Hung <shihpo.hung@sifive.com> Co-Authored-by:
Zakk Chen <zakk.chen@sifive.com> Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D93893
-
LLVM GN Syncbot authored
-
Yuanfang Chen authored
This reverts commit 16c8f6e9 with fix. -Wswitch catched an unhandled enum value due to recent commits in TargetPassConfig.cpp.
-
LLVM GN Syncbot authored
-
Yuanfang Chen authored
This reverts commit 21314940. Build failure in some bots.
-
Mehdi Amini authored
Fix DRR pattern when attributes and operands are interleaved and a dag subtree appears in the rewrite This fixes an incorrect fatal error in TableGen. This code probably comes from before attributes were allowed to interleave with operands in ODS. Reviewed By: jpienaar Differential Revision: https://reviews.llvm.org/D93915
-