- Mar 15, 2023
-
-
chenglin.bi authored
-
Ben Shi authored
Fixes https://github.com/llvm/llvm-project/issues/60204 Reviewed By: jacquesguan Differential Revision: https://reviews.llvm.org/D145659
-
Jakub Chlanda authored
Also check if native half types are supported to give more descriptive error message, without it clang only reports incorrect intrinsic return type. Differential Revision: https://reviews.llvm.org/D145238
-
pvanhout authored
Adds & uses a new `isDivergentUse` API in UA. UniformityAnalysis now requires CycleInfo as well as the new temporal divergence API can query it. ----- Original patch that adds `isDivergentUse` by @sameerds The user of a temporally divergent value is marked as divergent in the uniformity analysis. But the same user may also have been marked divergent for other reasons, thus losing this information about temporal divergence. But some clients need to specificly check for temporal divergence. This change restores such an API, that already existed in DivergenceAnalysis. Reviewed By: sameerds, foad Differential Revision: https://reviews.llvm.org/D146018
-
pvanhout authored
The backend knew about `v_sat_pk_u8_i16` but never made use of it. This patch adds selection patterns (DAG/GISel) for that instruction. I think it'll be very rarely used, but at least it's possible to use it. Solves #58266 (https://github.com/llvm/llvm-project/issues/58266) Reviewed By: foad Differential Revision: https://reviews.llvm.org/D144729
-
Matthias Springer authored
* Remove `reset` function. Use copy assignment directly (instead of within `reset`). * Fix potential `nullptr` dereference in `getFlattenedAffineExprs`. * Make constraint set optional in `checkMemrefAccessDependence`. Differential Revision: https://reviews.llvm.org/D145935
-
Kadir Cetinkaya authored
Depends on D146026 Fixes https://github.com/clangd/clangd/issues/1537. Differential Revision: https://reviews.llvm.org/D146028
-
Kadir Cetinkaya authored
Differential Revision: https://reviews.llvm.org/D146026
-
Max Kazantsev authored
-
AdityaK authored
Reserve X18 even when -fsanitize=shadow-call-stack is not enabled. Based on: https://reviews.llvm.org/D143355 Reviewed by: asb, samitolvanen, phosek, MaskRay Differential Revision: https://reviews.llvm.org/D145999
-
Qiu Chaofan authored
Currently clang emits error when both always_inline and target attributes are on callee, but caller doesn't have some feature. This patch makes clang emit error when caller cannot meet target feature requirements from an always-inlined callee. Reviewed By: erichkeane Differential Revision: https://reviews.llvm.org/D143479
-
Kazu Hirata authored
-
Matt Arsenault authored
-
Kazu Hirata authored
-
Matt Arsenault authored
Allows applying nofpclass to matrix arguments.
-
Matt Arsenault authored
Set this on any source level floating-point type argument, return value, call return or outgoing parameter which is lowered to a valid IR type for the attribute. Currently this isn't applied to emitted intrinsics since those don't go through ABI code.
-
Matt Arsenault authored
-
Matt Arsenault authored
-
Matt Arsenault authored
Cover more cases in preparation for making greater use of fcmp based lowerings. Also add more tests for the inverted cases. Test iszero | isnan test masks. We should probably just generate every combination of test masks.
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Jie Fu authored
/data/llvm-project/mlir/lib/Dialect/Tensor/Utils/Utils.cpp:62:11: error: comparison of integers of different signs: 'int64_t' (aka 'long') and 'size_t' (aka 'unsigned long') [-Werror,-Wsign-compare] if (dim >= shape.size()) ~~~ ^ ~~~~~~~~~~~~ 1 error generated. /data/llvm-project/mlir/lib/Dialect/Tensor/IR/TensorTilingInterfaceImpl.cpp:484:8: error: unused variable 'appendIndex' [-Werror,-Wunused-variable] auto appendIndex = [&](Value val, SmallVector<Value> &dynIndices, ^ 1 error generated. -
Mahesh Ravishankar authored
Reviewed By: springerm Differential Revision: https://reviews.llvm.org/D145135
-
Jeff Bailey authored
Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D146049
-
jinge90 authored
This builtin will be converted to llvm.set.rounding intrinsic in IR level and should be work with "#pragma STDC FENV_ACCESS ON" since it changes default FP environment. Users can change rounding mode via this builtin without introducing libc dependency. Reviewed by: andrew.w.kaylor, rjmccall, sepavloff, aaron.ballman Differential Revision: https://reviews.llvm.org/D145765 Signed-off-by:
jinge90 <ge.jin@intel.com>
-
Jacob Lambert authored
Fix recently introduced error and further generalize pattern matching for accepted HOST string
-
Arthur Eubanks authored
With opaque pointers, all function pointer types are the same, meaning there should be no bitcasts. Internal benchmarks with SampleFDO look neutral. This was added in D36333. Reviewed By: tejohnson, davidxl Differential Revision: https://reviews.llvm.org/D146099
-
Kazu Hirata authored
-
Jacob Lambert authored
The recent bundler patch (e48ae0db) introduced a few errors in two clang/Driver tests, and in the bundler documentation
-
Kazu Hirata authored
-
Douglas Yung authored
The test is failing on the PS4/PS5 bots: https://lab.llvm.org/buildbot/#/builders/139/builds/37475 https://lab.llvm.org/buildbot/#/builders/216/builds/18354
-
Uday Bondhugula authored
When the affine.parallel op was introduced, affine utilities weren't extended to handle it. Extending these is straightforward and natural given that addAffineParallelOpDomain has also been added. Update/complete memref region compute to account for affine.parallel ops. Handle failure cleanly. Add and expose utilities missing for affine.parallel to be consistent with affine.for. All of these allow various affine passes to work with a combination of affine.parallel and affine.for ops. Differential Revision: https://reviews.llvm.org/D145669
-
Kazu Hirata authored
-
David Blaikie authored
-
Amir Ayupov authored
The two methods don't belong in BinaryFunction methods. Move the dispatch tables into target-specific MCPlusBuilder methods. Reviewed By: rafauler Differential Revision: https://reviews.llvm.org/D131813
-
Ben Shi authored
Reviewed By: craig.topper, asb Differential Revision: https://reviews.llvm.org/D146008
-
Amir Ayupov authored
Pre-calculate the register size table in MCPlusBuilder constructor, similar to `AliasMap`/`SmallerAliasMap` in `initAliases`. Reviewed By: #bolt, rafauler Differential Revision: https://reviews.llvm.org/D145828
-
Frank Dischner authored
This allows building the compiler builtins library for the Armv8-M Baseline architecture. It can be built in the same way as other baremetal targets using the appropriate '--target' flag (e.g. --target=armv8m.base-eabi). NOTE: As with the other Cortex-M targets, only the builtins library is supported. There is no support for sanitizers, etc. The armv8m.base architecture is a superset of armv6m, so adding it to the cmake files using thumb1_SOURCES is almost enough for it to compile. Minor changes are needed to divsi3 and udivsi3, because armv8m.base does have support for div instructions but not mov with an immediate operand. Reviewed By: MaskRay, peter.smith Differential Revision: https://reviews.llvm.org/D143297
-
Amir Ayupov authored
Simplifies D145687 Reviewed By: #bolt, rafauler Differential Revision: https://reviews.llvm.org/D145972
-