- Mar 07, 2022
-
-
Endre Fülöp authored
Fix test case for GenericTaintChecker. Redefinition of types is a C11 feature, and it broke a buildbot. Commit amended: 4fd6c6e6.
-
LLVM GN Syncbot authored
-
Louis Dionne authored
Fixes llvm-project#44216 Differential Revision: https://reviews.llvm.org/D97870
-
Florian Hahn authored
When decomposing constraints for unsigned conditions, we can use negative values by zero-extending them, as long as they are less than the maximum constraint value. Fixes https://github.com/llvm/llvm-project/issues/54224
-
Florian Hahn authored
-
Uday Bondhugula authored
Update normalizeAffineFor utility to canonicalize maps and operands before using them. Differential Revision: https://reviews.llvm.org/D121086
-
Diana Picus authored
Minor fix to appease the buildbots.
-
Matthias Springer authored
Differential Revision: https://reviews.llvm.org/D121043
-
Roman Lebedev authored
In particular, after filtering the check lines can't necessarily use `-NEXT`, they may not be one directly after another.
-
Adrian Kuegel authored
Differential Revision: https://reviews.llvm.org/D121106
-
Christian Sigg authored
See D121024, D121025, D121026. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D121094
-
Endre Fülöp authored
Add more functions as taint propators to GenericTaintChecker. Reviewed By: steakhal Differential Revision: https://reviews.llvm.org/D120369
-
Florian Hahn authored
Add missing CanAdd check before adding a condition from an assume to the successor blocks. When adding information from assume to successor blocks we need to perform the same CanAdd as we do for adding a condition from a branch. Fixes https://github.com/llvm/llvm-project/issues/54217
-
Florian Hahn authored
Adds test case for https://github.com/llvm/llvm-project/issues/54217.
-
Mehdi Amini authored
-
Mehdi Amini authored
This reverts commit 393c6db7. This broke the build.
-
Heiko Thiel authored
-
Nikita Popov authored
Dropping this restriction seems to work fine (there are no assertion failures), so it appears that either the updater got smarter or the problematic cases are restricted elsewhere. If doing this still causes issues, then the place to address it would probably be https://github.com/llvm/llvm-project/blob/8f5bdaf481c3f4e6876a5ae0e4d7c6ed2042e6a6/llvm/lib/Transforms/IPO/Attributor.cpp#L1856-L1859, which already prevents replacement outside the SCC, so I'm not quite sure what this check is intended to avoid. Differential Revision: https://reviews.llvm.org/D120987
-
Alex Bradbury authored
-
Mehdi Amini authored
-
Mehdi Amini authored
-
Mehdi Amini authored
-
Mehdi Amini authored
-
Mehdi Amini authored
-
Mehdi Amini authored
-
Mehdi Amini authored
-
Mehdi Amini authored
-
Nikita Popov authored
Only determine the frame layout based on dereferenceable and align attributes, and remove the type-based fallback, which is incompatible with opaque pointers. The dereferenceable attribute is required, while the align attribute uses default alignment of 1 (commonly, align 1 attributes do not get placed, relying on default alignment). The CoroSplit pass producing the resume function adds the necessary attributes in https://github.com/llvm/llvm-project/blob/7daed359111f6d151fef447f520f85ef1dabedf6/llvm/lib/Transforms/Coroutines/CoroSplit.cpp#L840, and their presence is checked in coro-debug.ll at least. Differential Revision: https://reviews.llvm.org/D120988
-
Jan Svoboda authored
This test started failing on Windows after b45888e9 due to path separators not matching up.
-
Simon Atanasyan authored
-
Nikita Popov authored
With opaque pointers, after splitRetconCoroutine() the FramePtr may be an Argument rather than an Instruction. With typed pointers, this currently doesn't happen because the FramePtr would be a bitcast instruction. Fix this by making FramePtr a Value and adding a helper for the "after FramePtr" insertion point, which would be the start of the function in the Argument case. Differential Revision: https://reviews.llvm.org/D120994
-
Jan Svoboda authored
Since D106876, PCM files don't report module maps as input files unless they contributed to the compilation. Reporting only module maps of (transitively) imported modules is not enough, though. For modules marked with `[no_undeclared_includes]`, other module maps affect the compilation by introducing anti-dependencies. This patch makes sure such module maps are being reported as input files. Depends on D120463. Reviewed By: dexonsmith Differential Revision: https://reviews.llvm.org/D120464
-
Jan Svoboda authored
This patch simplifies a test that checks only used module map files are reported as input files in PCM files. Instead of using opaque `diff`, this patch uses `clang -module-file-info` and `FileCheck` to verify this. Reviewed By: dexonsmith Differential Revision: https://reviews.llvm.org/D120463
-
David Green authored
When lowering large v16f32->v16i8 fp_to_si_sat, the fp_to_si_sat node is split several times, creating an illegal v4i8 concat that gets expanded into a BUILD_VECTOR. After some combining and other legalisation, it ends up the a buildvector that extracts from 4 vectors, looking like BUILDVECTOR(a0,a1,a2,a3,b0,b1,b2,b3,c0,c1,c2,c3,d0,d1,d2,d3). That is really an v16i32->v16i8 truncate in disguise. This adds a ReconstructTruncateFromBuildVector method to detect the pattern, converting it back into the legal "concat(trunc(concat(trunc(a), trunc(b))), trunc(concat(trunc(c), trunc(d))))" tree. The extracted nodes could also be v4i16, in which case the truncates are not needed. All those truncates and concats then become uzip1's, which is much better than expanding by moving vector lanes around. Differential Revision: https://reviews.llvm.org/D119469
-
Siva Chandra Reddy authored
-
LLVM GN Syncbot authored
-
River Riddle authored
Translation.h is currently awkwardly shoved into the top-level mlir, even though it is specific to the mlir-translate tool. This commit moves it to a new Tools/mlir-translate directory, which is intended for libraries used to implement tools. It also splits the translate registry from the main entry point, to more closely mirror what mlir-opt does. Differential Revision: https://reviews.llvm.org/D121026
-
River Riddle authored
MlirOptMain is currently awkwardly shoved into mlir/Support. This commit moves it to the Tools/ directory, which is intended for libraries used to implement tools. Differential Revision: https://reviews.llvm.org/D121025
-
River Riddle authored
There is no reason for this file to be at the top-level, and its current placement predates the Parser/ folder's existence. Differential Revision: https://reviews.llvm.org/D121024
-
Florian Hahn authored
This patch extends ConstraintElimination to also remove dead variables when removing a constraint. When a constraint is removed because it is out of scope, all new variables added for this constraint can also be removed. This keeps the total size of the systems much smaller, because it reduces the number of variables drastically. It also fixes a bug where variables where removed incorrectly. Fixes https://github.com/llvm/llvm-project/issues/54228
-