| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[mlir][arith] Add support for sitofp, uitofp to ArithToAPFloat (#169284) Add support for arith.sitofp and arith.uitofp. | 8 个月前 | |
[mlir] [arith] Fix ceildivsi lowering in arith-expand (#133774) This fixes the current lowering of arith.ceildivsi in the arith-expand pass, which was previously incorrect. The new version is based on the lowering of arith.floordivsi, and will not introduce new undefined behavior or poison during the lowering. It also replaces one division with a multiplication. The previous lowering of ceildivsi(n, m) was the following: x = (m > 0) ? -1 : 1 (n*m>0) ? ((n+x) / m) + 1 : - (-n / m) This caused two problems: * In the case where n is INT_MIN and m is positive, the result would be poison instead of an actual value * In the case where n is INT_MAX and m is -1, this would trigger undefined behavior, while the original code wouldn't. This is because n+x would be equal to INT_MIN (INT_MAX + 1), so the (n+x) / m division would overflow and trigger UB. | 1 年前 | |
[mlir][arith][transforms] Fix f4E2M1FN to f32 cast (#160121) The signed i4 bitcast was used when setting the exponent and mantissa and instead the sign should be omitted in the comparisons. Without this, for example the following incorrect conversion from -0.5 f4 to -3.0 f32 will happen: | Binary | F4E2M1 | f32[23:32] | f32 | 1001 | -0.5 | ~~1 1000 000 01~~ | ~~-3.0~~ **Walkthrough:** Bits 23 and 24 are set based on: Value isHalf = arith::CmpIOp::create(b, arith::CmpIPredicate::eq, i4BitsNoSign, c0x1); Because 1001 (i4) != 1, bit 23 and 24 are set to the leading two bits of 1001 << 2, which is 01. The correct bits are 00. Bits 25 through 31 are set based on the i4 value being greater or equal to 4: Value useLargerExp = arith::CmpIOp::create(b, arith::CmpIPredicate::uge, i4BitsNoSign, c0x4); As 1001 is a negative i4 value, this is false and those bits are incorrectly set to 1000 000 instead of 0111 111. | 10 个月前 | |
[mlir] Rename mlir-cpu-runner to mlir-runner (#123776) With the removal of mlir-vulkan-runner (as part of #73457) in e7e3c45bc70904e24e2b3221ac8521e67eb84668, mlir-cpu-runner is now the only runner for all CPU and GPU targets, and the "cpu" name has been misleading for some time already. This commit renames it to mlir-runner. | 1 年前 | |
[mlir] Rename mlir-cpu-runner to mlir-runner (#123776) With the removal of mlir-vulkan-runner (as part of #73457) in e7e3c45bc70904e24e2b3221ac8521e67eb84668, mlir-cpu-runner is now the only runner for all CPU and GPU targets, and the "cpu" name has been misleading for some time already. This commit renames it to mlir-runner. | 1 年前 | |
[mlir] Rename mlir-cpu-runner to mlir-runner (#123776) With the removal of mlir-vulkan-runner (as part of #73457) in e7e3c45bc70904e24e2b3221ac8521e67eb84668, mlir-cpu-runner is now the only runner for all CPU and GPU targets, and the "cpu" name has been misleading for some time already. This commit renames it to mlir-runner. | 1 年前 | |
[mlir] Rename mlir-cpu-runner to mlir-runner (#123776) With the removal of mlir-vulkan-runner (as part of #73457) in e7e3c45bc70904e24e2b3221ac8521e67eb84668, mlir-cpu-runner is now the only runner for all CPU and GPU targets, and the "cpu" name has been misleading for some time already. This commit renames it to mlir-runner. | 1 年前 | |
[mlir][arith] Trim trailing spaces in wide int emulation tests. NFC. (#133349) Followup cleanup after https://github.com/llvm/llvm-project/pull/132375 and https://github.com/llvm/llvm-project/pull/133248 | 1 年前 | |
[mlir][arith] Trim trailing spaces in wide int emulation tests. NFC. (#133349) Followup cleanup after https://github.com/llvm/llvm-project/pull/132375 and https://github.com/llvm/llvm-project/pull/133248 | 1 年前 | |
[mlir] Rename mlir-cpu-runner to mlir-runner (#123776) With the removal of mlir-vulkan-runner (as part of #73457) in e7e3c45bc70904e24e2b3221ac8521e67eb84668, mlir-cpu-runner is now the only runner for all CPU and GPU targets, and the "cpu" name has been misleading for some time already. This commit renames it to mlir-runner. | 1 年前 | |
[mlir] Rename mlir-cpu-runner to mlir-runner (#123776) With the removal of mlir-vulkan-runner (as part of #73457) in e7e3c45bc70904e24e2b3221ac8521e67eb84668, mlir-cpu-runner is now the only runner for all CPU and GPU targets, and the "cpu" name has been misleading for some time already. This commit renames it to mlir-runner. | 1 年前 | |
[mlir] Rename mlir-cpu-runner to mlir-runner (#123776) With the removal of mlir-vulkan-runner (as part of #73457) in e7e3c45bc70904e24e2b3221ac8521e67eb84668, mlir-cpu-runner is now the only runner for all CPU and GPU targets, and the "cpu" name has been misleading for some time already. This commit renames it to mlir-runner. | 1 年前 | |
[mlir] Rename mlir-cpu-runner to mlir-runner (#123776) With the removal of mlir-vulkan-runner (as part of #73457) in e7e3c45bc70904e24e2b3221ac8521e67eb84668, mlir-cpu-runner is now the only runner for all CPU and GPU targets, and the "cpu" name has been misleading for some time already. This commit renames it to mlir-runner. | 1 年前 | |
[mlir] Rename mlir-cpu-runner to mlir-runner (#123776) With the removal of mlir-vulkan-runner (as part of #73457) in e7e3c45bc70904e24e2b3221ac8521e67eb84668, mlir-cpu-runner is now the only runner for all CPU and GPU targets, and the "cpu" name has been misleading for some time already. This commit renames it to mlir-runner. | 1 年前 | |
[mlir] Rename mlir-cpu-runner to mlir-runner (#123776) With the removal of mlir-vulkan-runner (as part of #73457) in e7e3c45bc70904e24e2b3221ac8521e67eb84668, mlir-cpu-runner is now the only runner for all CPU and GPU targets, and the "cpu" name has been misleading for some time already. This commit renames it to mlir-runner. | 1 年前 | |
[mlir][arith] Trim trailing spaces in wide int emulation tests. NFC. (#133349) Followup cleanup after https://github.com/llvm/llvm-project/pull/132375 and https://github.com/llvm/llvm-project/pull/133248 | 1 年前 | |
[mlir] Rename mlir-cpu-runner to mlir-runner (#123776) With the removal of mlir-vulkan-runner (as part of #73457) in e7e3c45bc70904e24e2b3221ac8521e67eb84668, mlir-cpu-runner is now the only runner for all CPU and GPU targets, and the "cpu" name has been misleading for some time already. This commit renames it to mlir-runner. | 1 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 8 个月前 | ||
| 1 年前 | ||
| 10 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 |