- Apr 20, 2020
-
-
Valeriy Savchenko authored
We want to trust user type annotations and stop assuming pointers declared as nonnull still can be null. This functionality is implemented as part of NonNullParamChecker because it already checks parameter attributes. Whenever we start analyzing a new function, we assume that all parameters with 'nonnull' attribute are indeed non-null. Patch by Valeriy Savchenko! Differential Revision: https://reviews.llvm.org/D77806
-
Valeriy Savchenko authored
We want to trust user type annotations and stop assuming pointers declared as _Nonnull still can be null. This functionality is implemented as part of NullabilityChecker as it already tracks non-null types. Patch by Valeriy Savchenko! Differential Revision: https://reviews.llvm.org/D77722
-
Florian Hahn authored
This patch includes some clean-ups to tryToCreateRecipe, suggested in D77973. It includes: * Renaming tryToCreateRecipe to tryToCreateWidenRecipe. * Move VPBB insertion logic to caller of tryToCreateWidenRecipe. * Hoists instruction checks to tryToCreateWidenRecipe, making it clearer which instructions are handled by which recipe, simplifying the checks by using early exits. * Split up handling of induction PHIs and truncates using inductions. Reviewers: gilr, rengolin, Ayal, hsaito Reviewed By: Ayal Differential Revision: https://reviews.llvm.org/D78287 -
Sam Parker authored
Add patterns which use standard add nodes along with arm vshr imm nodes. Differential Revision: https://reviews.llvm.org/D77069
-
Mark Murray authored
Summary: This commit reverts https://reviews.llvm.org/D75039. Concensus appears to be in favour of assembly-time resolution of these ADR and LDR relocations, in line with GNU. Reviewers: psmith Subscribers: kristof.beyls, hiraditya, danielkiss, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D78301
-
Florian Hahn authored
The recently added Instruction::comesBefore can be used instead of OrderedInstructions. Reviewers: rnk, nikic, efriedma Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D78452
-
Alexander Belyaev authored
-
Sam Parker authored
The API for shuffles and reductions uses generic Type parameters, instead of VectorType, and so assertions and casts are used a lot. This patch makes those types explicit, which means that the clients can't be lazy, but results in less ambiguity, and that can only be a good thing. Bugzilla: https://bugs.llvm.org/show_bug.cgi?id=45562 Differential Revision: https://reviews.llvm.org/D78357
-
Kang Zhang authored
Summary: The patch D29014 has added the new ISD::FREEZE and can deal with the integer. The patch D76980 has added SoftenFloatRes_FREEZE for float point. But we still lack of expand for ppc_fp128, this will cause assertion for some cases. This patch is to support freeze expand for ppc_fp128. Reviewed By: efriedma Differential Revision: https://reviews.llvm.org/D78278
-
Alexander Belyaev authored
Differential Revision: https://reviews.llvm.org/D78426
-
Craig Topper authored
Differential Revision: https://reviews.llvm.org/D78470
-
Kadir Cetinkaya authored
-
Craig Topper authored
-
Craig Topper authored
Differential Revision: https://reviews.llvm.org/D78467
-
David Blaikie authored
Unsequenced write due to "x &= f()" where 'f()' modifies 'x'. Detected by the llvm-clang-x86_64-expensive-checks-win buildbot. Investigated/identified by Galina - thanks!
-
Max Kazantsev authored
-
Xiang1 Zhang authored
Summary: In SjLj exception mode, the old landingpad BB will create a new landingpad BB and use indirect branch jump to the old landingpad BB in lowering. So we should add 2 endbr for this exception model. Reviewers: hjl.tools, craig.topper, annita.zhang, LuoYuanke, pengfei, efriedma Reviewed By: LuoYuanke Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D77124
-
Bill Wendling authored
Summary: Little-endian PowerPC object files should report "elf64-powerpcle" instead of "elf64-powerpc". Reviewers: jhenderson, MaskRay, espindola, alexshap, rupprecht, #powerpc Reviewed By: MaskRay Subscribers: wuzish, emaste, nemanjai, shchenz, steven.zhang, llvm-commits Tags: #llvm, #powerpc Differential Revision: https://reviews.llvm.org/D78344
-
Max Kazantsev authored
It demonstrates that, even if LV does no actual vectorization and only forms LCSSA, CFG analyses get dropped.
-
Shengchen Kan authored
Summary: When we encode an instruction, we need to know the number of bytes being emitted to determine the fixups in `X86MCCodeEmitter::emitImmediate`. There are only two callers for `emitImmediate`: `emitMemModRMByte` and `encodeInstruction`. Before this patch, we kept track of the current byte being emitted by passing a reference parameter `CurByte` across all the `emit*` funtions, which is ugly and unnecessary. For example, we don't have any fixups when emitting prefixes, so we don't need to track this value. In this patch, we use `StartByte` to record the initial status of the streamer, and use `OS.tell()` to get the current status of the streamer when we need to know the number of bytes being emitted. On one hand, this eliminates the parameter `CurByte` for most `emit*` functions, on the other hand, this make things clear: Only pass the parameter when we really need it. Reviewers: craig.topper, pengfei, MaskRay Reviewed By: craig.topper, MaskRay Subscribers: hiraditya, llvm-commits, annita.zhang Tags: #llvm Differential Revision: https://reviews.llvm.org/D78419
-
Craig Topper authored
Differential Revision: https://reviews.llvm.org/D78451
-
Craig Topper authored
Differential Revision: https://reviews.llvm.org/D78449
-
Craig Topper authored
Drop visitCallInst/visitInvokeInst since the generic implementation will delegate to visitCallBase. They appear to be from a time before visitCallSite existed in the InstVisitor system. Differential Revision: https://reviews.llvm.org/D78448
-
Craig Topper authored
This will allow use to add DAG combines for these instructions.
-
Craig Topper authored
-
Simon Pilgrim authored
-
Simon Pilgrim authored
-
Nikita Popov authored
As suggested on D76788, this switches the LVI implementation to return Optional<ValueLatticeElement> from various methods, instead of passing in a ValueLatticeElement reference and returning a boolean. Differential Revision: https://reviews.llvm.org/D78383
-
Florian Hahn authored
Remove some unnecessary includes, replace some with forward declarations. This also exposed a few places that were missing some includes.
-
Florian Hahn authored
Some includes are not required and forward declarations can be used instead. This also exposed a few places that were not directly including required files.
-
Florian Hahn authored
Most of the includes in LoopUtils.h are not required in the header and they can be replaced by forward declarations. Unfortunately includes of TargetTransformInfo.h and IVDescriptors.h pull in a bunch of additional things, but there is no easy way to get rid of them at the moment I think.
-
Mehdi Amini authored
-
Simon Pilgrim authored
Replace with forward declarations.
-
Mehdi Amini authored
Differential Revision: https://reviews.llvm.org/D78394
-
Mehdi Amini authored
-
Mehdi Amini authored
-
- Apr 19, 2020
-
-
Simon Pilgrim authored
-
Simon Pilgrim authored
-
Simon Pilgrim authored
-
Fangrui Song authored
sched_getaffinity (Linux specific) has been available * in glibc since 2002-08-08 (commit 972e719e8154eec5f543b027e2a08dfa285d55d5) * in musl since the initial check-in.
-