| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Emit inbounds and nuw attributes in memref. (#138984) Now that MLIR accepts nuw and nusw in getelementptr, this patch emits the inbounds and nuw attributes when lower memref to LLVM in load and store operators. This patch also strengthens the memref.load and memref.store spec about undefined behaviour during lowering. This patch also lifts the |rewriter| parameter in getStridedElementPtr ahead so that LLVM::GEPNoWrapFlags can be added at the end with a default value and grouped together with other operators' parameters. Signed-off-by: Lin, Peiyong <linpyong@gmail.com> | 1 年前 | |
Reland "[MLIR][FuncToLLVM] Remove typed pointer support" (#70717) This relands 6a0f6dd8359b38340442b7e6b14629c1d6c54a81 that was reverted due to a missing integration test change. This commit removes the support for lowering Func to LLVM dialect with typed pointers. Typed pointers have been deprecated for a while now and it's planned to soon remove them from the LLVM dialect. Original PR: https://github.com/llvm/llvm-project/pull/70574 | 2 年前 | |
[MLIR] Fix FileCheck annotations and add 32-bit coverage (#167149) Addresses #93154 by ensuring the test RUN/FILECHECK prefixes across mlir/test/Conversion/FuncToLLVM/ and related files match their expected outputs, and adds an index-bitwidth=32 variant of expand-then-convert-to-llvm.mlir that exercises @collapse_shape_dynamic_with_non_identity_layout through the same MemRef-to-LLVM pipeline so the 32-bit layout descriptors are verified. | 8 个月前 | |
[mlir][LLVM] Resync memory effect attribute with LLVM IR (#168568) - Add missing locations, namely 'ErrnoMem', 'TargetMem0', and 'TargetMem1'. | 8 个月前 | |
Reland "[MLIR][FuncToLLVM] Remove typed pointer support" (#70717) This relands 6a0f6dd8359b38340442b7e6b14629c1d6c54a81 that was reverted due to a missing integration test change. This commit removes the support for lowering Func to LLVM dialect with typed pointers. Typed pointers have been deprecated for a while now and it's planned to soon remove them from the LLVM dialect. Original PR: https://github.com/llvm/llvm-project/pull/70574 | 2 年前 | |
Reland "[MLIR][FuncToLLVM] Remove typed pointer support" (#70717) This relands 6a0f6dd8359b38340442b7e6b14629c1d6c54a81 that was reverted due to a missing integration test change. This commit removes the support for lowering Func to LLVM dialect with typed pointers. Typed pointers have been deprecated for a while now and it's planned to soon remove them from the LLVM dialect. Original PR: https://github.com/llvm/llvm-project/pull/70574 | 2 年前 | |
[mlir][LLVM] Switch undef for poison for uninitialized values (#125629) LLVM itself is generally moving away from using undef and towards using poison, to the point of having a lint that caches new uses of undef in tests. In order to not trip the lint on new patterns and to conform to the evolution of LLVM - Rename valious ::undef() methods on StructBuilder subclasses to ::poison() - Audit the uses of UndefOp in the MLIR libraries and replace almost all of them with PoisonOp The remaining uses of undef are initializing uninitialized memrefs, explicit conversions to undef from SPIR-V, and a few cases in AMDGPUToROCDL where usage like %v = insertelement <M x iN> undef, iN %v, i32 0 %arg = bitcast <M x iN> %v to i(M * N) is used to handle "i32" arguments that are are really packed vectors of smaller types that won't always be fully initialized. | 1 年前 | |
[MLIR] Fix FileCheck annotations and add 32-bit coverage (#167149) Addresses #93154 by ensuring the test RUN/FILECHECK prefixes across mlir/test/Conversion/FuncToLLVM/ and related files match their expected outputs, and adds an index-bitwidth=32 variant of expand-then-convert-to-llvm.mlir that exercises @collapse_shape_dynamic_with_non_identity_layout through the same MemRef-to-LLVM pipeline so the 32-bit layout descriptors are verified. | 8 个月前 | |
[mlir][ToLLVM] Fix the index bitwidth handling for the dynamic case of convert-to-llvm (#156557) This patch changes the behavior of convert-to-llvm{dynamic=true} so that the nearest DataLayout is used to configure LowerToLLVMOptions and LLVMTypeConverter. Example: mlir module attributes {dlti.dl_spec = #dlti.dl_spec<#dlti.dl_entry<index, 16>>} { func.func private @test_16bit_index(%arg0: index) -> index } // mlir-opt --convert-to-llvm="dynamic=true" module attributes {dlti.dl_spec = #dlti.dl_spec<index = 16 : i64>} { llvm.func @test_16bit_index(i16) -> i16 attributes {sym_visibility = "private"} } | 11 个月前 | |
[mlir][Transforms] Dialect Conversion Driver without Rollback (#151865) This commit improves the allowPatternRollback flag handling in the dialect conversion driver. Previously, this flag was used to merely detect cases that are incompatible with the new One-Shot Dialect Conversion driver. This commit implements the driver itself: when the flag is set to "false", all IR changes are materialized immediately, bypassing the IRRewrite and ConversionValueMapping infrastructure. A few selected test cases now run with both the old and the new driver. RFC: https://discourse.llvm.org/t/rfc-a-new-one-shot-dialect-conversion-driver/79083 | 11 个月前 | |
Reland "[MLIR][FuncToLLVM] Remove typed pointer support" (#70717) This relands 6a0f6dd8359b38340442b7e6b14629c1d6c54a81 that was reverted due to a missing integration test change. This commit removes the support for lowering Func to LLVM dialect with typed pointers. Typed pointers have been deprecated for a while now and it's planned to soon remove them from the LLVM dialect. Original PR: https://github.com/llvm/llvm-project/pull/70574 | 2 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 年前 | ||
| 2 年前 | ||
| 8 个月前 | ||
| 8 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 8 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 2 年前 |