- Jan 14, 2022
-
-
Simon Pilgrim authored
[llvm-profgen] ProfiledBinary::load - use cast<> instead of dyn_cast<> to avoid dereference of nullptr The pointer is always dereferenced immediately, so assert the cast is correct instead of returning nullptr
-
Simon Pilgrim authored
-
Simon Pilgrim authored
-
Arthur O'Dwyer authored
-
Stephan Herhut authored
Also fix a memory leak in the test while at it. Differential Revision: https://reviews.llvm.org/D117314
-
LLVM GN Syncbot authored
-
Benjamin Kramer authored
-
Stanislav Gatev authored
This is part of the implementation of the dataflow analysis framework. See "[RFC] A dataflow analysis framework for Clang AST" on cfe-dev. Reviewed-by: ymandel, xazax.hun Differential Revision: https://reviews.llvm.org/D117218
-
Louis Dionne authored
I didn't split the calendar bits more than this because there was little benefit to doing it, and I know our calendar support is incomplete. Whoever picks up the missing calendar bits can organize these headers at their leisure. Differential Revision: https://reviews.llvm.org/D116965
-
Vitaly Buka authored
Differential Revision: https://reviews.llvm.org/D74787
-
Simon Pilgrim authored
-
Simon Pilgrim authored
For AVX2+ targets this requires us to also recognise v4f64 concat(broadcast(x),broadcast(y)) -> movddup(concat(x,y))
-
Simon Pilgrim authored
-
Simon Pilgrim authored
[llvm-profgen] CSProfileGenerator::generateLineNumBasedProfile - use cast<> instead of dyn_cast<> to avoid dereference of nullptr The pointer is always dereferenced immediately below, so assert the cast is correct instead of returning nullptr
-
David Truby authored
This is a simple test fix that canonicalises the SVE mulh tests.
-
Roman Lebedev authored
[NFCI][SCEV] `computeExitLimitFromCondFromBinOp()`: rely on `getSequentialMinMaxExpr()` constant relaxation `getSequentialMinMaxExpr()` has been taught to perform this relaxation, so rely on that now. Not sure this can be tested.
-
Roman Lebedev authored
Currently, `computeExitLimitFromCondFromBinOp()` does that directly.
-
Roman Lebedev authored
-
Uday Bondhugula authored
Clean up return value on affineDataCopyGenerate utility. Return the actual success/failure status instead of the "number of bytes" which isn't being used in the codebase in any way. The success/failure status wasn't being sent out earlier. Differential Revision: https://reviews.llvm.org/D117209
-
Jun Zhang authored
This patch implements two builtins specified in D111529. The last __builtin_reduce_add will be seperated into another one. Differential Revision: https://reviews.llvm.org/D116736
-
Coelacanthus authored
fix typo in comment: libcstd++ -> libstdc++ Reviewed By: wallace Differential Revision: https://reviews.llvm.org/D117288
-
Matthias Springer authored
By default, copies are inserted right before the tensor OpOperand use. With this change, `bufferize` implementation can change the insertion point. This is needed for some ops where it would be illegal to insert a copy right before the use. Differential Revision: https://reviews.llvm.org/D117291
-
Matthias Springer authored
Fold `memref.copy %x, %x`. Differential Revision: https://reviews.llvm.org/D117224
-
Marek Kurdej authored
The case with an inner while loop wasn't tested before. Same for outer loop with a ForeachMacro.
-
Florian Hahn authored
Test case showing a foldable icmp ('icmp ult i8* [[SCEVGEP1]], [[SCEVGEP1]]'). This can be simplified in a follow-up change. -
Kadir Cetinkaya authored
This reverts commit 07f9fb8b.
-
Matthias Springer authored
Differential Revision: https://reviews.llvm.org/D117220
-
Stephan Herhut authored
In the absence of maps, we can lower memref.copy to a memcpy. Differential Revision: https://reviews.llvm.org/D116099
-
Alexey Lapshin authored
This patch creates functions which might be used to dump types. This functionality was already implemented by DWARFTypePrinter. Now it could be reused. It will help D96035, which uses DWARFTypePrinter. Differential Revision: https://reviews.llvm.org/D117134
-
Matthias Springer authored
If the source/dest is a cast that does not change shape/element type, the cast can be skipped. Differential Revision: https://reviews.llvm.org/D117215
-
Roman Lebedev authored
Since we don't merge/expand non-sequential umin exprs into umin_seq exprs, we may have umin_seq(umin(umin_seq())) chain, and the innermost umin_seq can have duplicate operands still.
-
Marek Kurdej authored
-
Alex Bradbury authored
Make the definitions of hpmcounter3-hpmcounter31, hpmcounter3h-hpmcounter31h, mhpmcounter3-mhpmcounter31, mhpmcounter3h-mhpmcounter31h, pmpaddr0-pmpaddr63, mhpmevent3-31, and pmpcfg0-15 substantially less repetitive using a foreach loop. Differential Revision: https://reviews.llvm.org/D117227
-
Alex Zinenko authored
LLVM dialect supports terminators with repeated successor blocks that take different operands. This cannot be directly expressed in LLVM IR though since it uses the number of the predecessor block to differentiate values in its PHI nodes. Therefore, the translation to LLVM IR inserts dummy blocks to forward arguments in case of repeated succesors with arguments. The insertion works correctly. However, when connecting PHI nodes to their source values, the assertion of the insertion having worked correctly was incorrect: it would only trigger if repeated blocks were adjacent in the successor list (not guaranteed by anything) and would not check if the successors have operands (no need for dummy blocks in absence of operands since no PHIs are being created). Change the assertion to only trigger in case of duplicate successors with operands, and don't expect them to be adjacent. Reviewed By: wsmoses Differential Revision: https://reviews.llvm.org/D117214
-
Florian Hahn authored
Depends on D117038. Reviewed By: lebedev.ri Differential Revision: https://reviews.llvm.org/D117039
-
Nikita Popov authored
The invalid undef value already triggers a verifier failure, but then the upwards scan from the cleanuppad ends up asserting. Make sure this is handled gacefully instead.
-
Adrian Kuegel authored
Based on a finding by ClangTidy readability-container-size-empty check.
-
Jay Foad authored
Take advantage of D117117 to simplify {{\[}}[[ to [[[. -
Jay Foad authored
-
Muhammad Omair Javaid authored
TestIOHandlerPythonREPLSigint.py is failing on Arm/Linux buildbot. I am marking it as skip for now.
-