| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[MLIR][Linalg] Remove elemwise_unary and elemwise_binary (#147082) RFC: https://discourse.llvm.org/t/rfc-deprecate-linalg-elemwise-unary-and-elemwise-binary/87144 Remove the two operations and fix the tests by: * Cleaning simple operation tests of the old ops * Changing linalg.elemwise_{u|bi}nary with linalg.{exp|add} on transform tests * Changing some of the tests with linalg.elementwise instead, to broaden test coverage * Surgically removing the elemwise_* part in the Python tests * Update MLIR transform examples (text and tests) with linalg.elementwise instead Nothing else changed. | 1 年前 | |
[MLIR][Linalg] Remove elemwise_unary and elemwise_binary (#147082) RFC: https://discourse.llvm.org/t/rfc-deprecate-linalg-elemwise-unary-and-elemwise-binary/87144 Remove the two operations and fix the tests by: * Cleaning simple operation tests of the old ops * Changing linalg.elemwise_{u|bi}nary with linalg.{exp|add} on transform tests * Changing some of the tests with linalg.elementwise instead, to broaden test coverage * Surgically removing the elemwise_* part in the Python tests * Update MLIR transform examples (text and tests) with linalg.elementwise instead Nothing else changed. | 1 年前 | |
[mlir][doc] Fix transform dialect tutorial ch3 (#150456) Fixed some bugs in documentation. Add CallOpInterfaceHandle to the arguments of ChangeCallTargetOp, after doing so the section described in the documentation works correctly, Otherwise the following code reports an error. // Cast to our new type. %casted = transform.cast %call : !transform.any_op to !transform.my.call_op_interface // Using our new operation. transform.my.change_call_target %casted, "microkernel" : !transform.my.call_op_interface | 1 年前 | |
[MLIR][Linalg] Remove elemwise_unary and elemwise_binary (#147082) RFC: https://discourse.llvm.org/t/rfc-deprecate-linalg-elemwise-unary-and-elemwise-binary/87144 Remove the two operations and fix the tests by: * Cleaning simple operation tests of the old ops * Changing linalg.elemwise_{u|bi}nary with linalg.{exp|add} on transform tests * Changing some of the tests with linalg.elementwise instead, to broaden test coverage * Surgically removing the elemwise_* part in the Python tests * Update MLIR transform examples (text and tests) with linalg.elementwise instead Nothing else changed. | 1 年前 | |
[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 年前 |