- Mar 23, 2020
-
-
Simon Atanasyan authored
The `sne Dst, Src1, Src2/Imm` pseudo instruction sets register `Dst` to 1 if register `Src1` is not equal to `Src2/Imm` and to 0 otherwise.
-
Simon Atanasyan authored
The `sle/sleu Dst, Src1, Src2/Imm` pseudo instructions set register `Dst` to 1 if register `Src1` is less than or equal `Src2/Imm` and to 0 otherwise.
-
Simon Atanasyan authored
-
Simon Atanasyan authored
-
Simon Atanasyan authored
-
Jacques Pienaar authored
This will match the changes mlir.llvm.org side.
-
Alex Brachet authored
-
Yaxun (Sam) Liu authored
Extract common code to a function. To prepare for adding an option for CUDA/HIP host and device only option. Differential Revision: https://reviews.llvm.org/D76455
-
Yaxun (Sam) Liu authored
Differential Revision: https://reviews.llvm.org/D57707
-
Alex Brachet authored
Summary: This patch adds a Linux implementation for `signal` It also fixes `ASSERT|EXPECT_THAT` macros Reviewers: sivachandra, PaulkaToast, MaskRay Reviewed By: sivachandra Subscribers: mgorny, tschuett, libc-commits Differential Revision: https://reviews.llvm.org/D76536
-
Craig Topper authored
SplitsOpsAndApply will take care of any needed splitting correctly. All that we need to check is that the vector element count is a power of 2. Differential Revision: https://reviews.llvm.org/D76558
-
Nico Weber authored
-
Matt Arsenault authored
Make sure it is a multiple of 2 bytes as specified in the LangRef.
-
- Mar 22, 2020
-
-
Nikita Popov authored
D75801 removed the last and only user of this option, so we can drop it now. The original idea behind this was to only run expensive transforms under -O3, but apart from the one known bits transform, this has never really taken off. I believe nowadays the recommendation is to put expensive transforms in AggressiveInstCombine instead, though that isn't terribly popular either :) Differential Revision: https://reviews.llvm.org/D76540
-
Matt Arsenault authored
The TTI hooks aren't converted. I also think the intrinsics should have mandatory alignment and never return MaybeAlign.
-
Qiu Chaofan authored
For folding pattern `x-(fma y,z,u*v) -> (fma -y,z,(fma -u,v,x))`, if `yz` is 1, `uv` is -1 and `x` is -0, sign of result would be changed. Differential Revision: https://reviews.llvm.org/D76419
-
Qiu Chaofan authored
-
Simon Pilgrim authored
Finally resurrecting D56506 and want to improve test coverage.
-
Bjorn Pettersson authored
Summary: Avoid blind cast from Operator to ExtractElementInst in computeKnownBitsFromOperator. This resulted in some crashes in downstream fuzzy testing. Instead we use getOperand directly on the Operator when accessing the vector/index operands. Haven't seen any problems with InsertElement and ShuffleVector, but I believe those could be used in constant expressions as well. So the same kind of fix as for ExtractElement was also applied for InsertElement. When it comes to ShuffleVector we now simply bail out if a dynamic cast of the Operator to ShuffleVectorInst fails. I've got no reproducer indicating problems for ShuffleVector, and a fix would be slightly more complicated as getShuffleDemandedElts is involved. Reviewers: RKSimon, nikic, spatel, efriedma Reviewed By: RKSimon Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D76564
-
Nikita Popov authored
We need to insert into the Visited set at the same time we insert into the worklist. Otherwise we may end up pushing the same instruction to the worklist multiple times, and only adding it to the visited set later.
-
Qiu Chaofan authored
-
River Riddle authored
Summary: This removes the static pass registration, and also cleans up some lingering technical debt. Differential Revision: https://reviews.llvm.org/D76554
-
River Riddle authored
Summary: This file only contains references to test passes, and was never removed when the test passes were moved to the test/ directory. Differential Revision: https://reviews.llvm.org/D76553
-
River Riddle authored
This removes the reliance on global options, and also simplifies the pass registration. Differential Revision: https://reviews.llvm.org/D76552
-
Nikita Popov authored
For the common case, we will only insert one value into this map.
-
Fangrui Song authored
-
Fangrui Song authored
We can use the parent MCObjectFileInfo::Ctx which has the same value.
-
Fangrui Song authored
-
David Blaikie authored
This type was already well designed - having a protected destructor, and derived classes being final/public non-virtual destructors, the type couldn't be destroyed polymorphically & accidentally cause slicing. This reverts commit 736385c0.
-
Lang Hames authored
DebugUtils.h seems like a more appropriate home for these.
-
Craig Topper authored
-
Uday Bondhugula authored
Fix memref type doc comment to state that -1 indicates a dynamically shaped dimension and not any negative number. Signed-off-by:
Uday Bondhugula <uday@polymagelabs.com> Differential Revision: https://reviews.llvm.org/D76557
-
Craig Topper authored
This cases produces a psadbw that doesn't need to be widened or extracted so takes a slightly different code path in combineLoopSADPattern.
-
LLVM GN Syncbot authored
-
Eric Fiselier authored
-
Aaron Ballman authored
It is already assumed to be nonnull by the code calling diagAppertainsToDecl.
-
Simon Pilgrim authored
-
Simon Pilgrim authored
We often widen xmm/ymm vectors to ymm/zmm by insertion into an undef base vector. By letting getTargetShuffleAndZeroables track the undef elts we can help avoid a lot of unnecessary cross-lane shuffles. Fixes PR44694
-
Simon Pilgrim authored
-