- Mar 15, 2023
-
-
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
-
Frank Tetzel authored
Adds perf event listeners when RTDyldObjectLinkingLayer is used in -jit-kind=orc mode. Reviewed By: lhames Differential Revision: https://reviews.llvm.org/D126214
-
Michael Maitland authored
Differential Revision: https://reviews.llvm.org/D144125
-
Lei Zhang authored
Reviewed By: kuhar Differential Revision: https://reviews.llvm.org/D145079
-
Tom Stellard authored
This fixes test failures on AArch64 with libgcc-13: Clang :: Interpreter/global-dtor.cpp Clang-Unit :: Interpreter/./ClangReplInterpreterTests/2/4 Reviewed By: lhames, v.g.vassilev Differential Revision: https://reviews.llvm.org/D146067
-
Yeting Kuo authored
The patch handles fixed type strict-fp by new RISCVISD::STRICT_ prefixed isd nodes. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D145900
-
Shafik Yaghmour authored
[Clang] Fix ClassifyImplicitMemberAccess to handle cases where the access in an unevaluated context is not within a CXXRecordDecl or CXXMethodDecl ClassifyImplicitMemberAccess assumes that if we are not in a static context then the DeclContext must be a CXXRecordDecl or a CXXMethodDecl. In the case of the unevaluated context this may not be true. This will lead to a crash because contextClass will remain a nullptr. Fixes: https://github.com/llvm/llvm-project/issues/37792 Fixes: https://github.com/llvm/llvm-project/issues/48405 Differential Revision: https://reviews.llvm.org/D142490
-
NAKAMURA Takumi authored
For now, I have introduced `llvm::tmp::getValueType(Rec)` as a copy from `CodeGenTarget.cpp`. This will be removed in the near future, when IntrinsicEmitter will not depend on MVT. Differential Revision: https://reviews.llvm.org/D143844
-
NAKAMURA Takumi authored
Differential Revision: https://reviews.llvm.org/D143844
-
NAKAMURA Takumi authored
-
Jorge Gorbe Moya authored
https://reviews.llvm.org/D146014 removed the dependency on errno from several targets and added it to the `libc_test` macro. However, strtol_test_helper is not a `libc_test` but a `cc_library` so it's missing a dependency.
-
Fangrui Song authored
-
Jakub Kuderski authored
Only rewrite `scf.yield` when the parent op is supported by scf-to-spirv. Fixes: #61380, #61107, #61148 Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D146080
-
Jakub Kuderski authored
This is a clean up before fixing issues identified in this pass by https://github.com/llvm/llvm-project/issues/61380 and similar issues. - Move patterns definitions closer to declarations. - Simplify pattern definitions. - Drop hand-written pass constructor in favor of an auto-generated on. - Fix typos in pass description. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D146077
-
David Blaikie authored
-
Amir Ayupov authored
Apply the replacement throughout BOLT. Reviewed By: #bolt, rafauler Differential Revision: https://reviews.llvm.org/D145464
-
Amir Ayupov authored
Reviewed By: #bolt, rafauler Differential Revision: https://reviews.llvm.org/D144924
-
Fangrui Song authored
D132262 tried to simplify `IsMetadataOrEHFrameSection` originally introduced in D127549 but caused a regression as `.quad` directives in ``` .section .note,"a",@note; note: .quad extern-note # extern is undefined .section .rodata,"a",@progbits; rodata: .quad extern-rodata # extern is undefined .section .nonalloc,"",@progbits; nw: .quad extern-nw ``` are incorrectly rejected: these differences may be link-time constants and are allowed in GNU assembler and LLVM MC's non-RISC-V ports. Relax the conditions to allow these cases. For A-B, A may be defined later, but this requiresFixups call has to eagerly make a decision. For now, emit ADD/SUB unless A is `.L*`. This euristic handles many temporary label differences for .debug_* and .apple_types sections. Ideally we should delay the decision of PC-relative vs ADD/SUB until A is defined. Reviewed By: compnerd Differential Revision: https://reviews.llvm.org/D145474
-