Support arith select in VPTO LLVM lowering#890
Conversation
There was a problem hiding this comment.
Code Review
This pull request adds support for converting arith.select operations with VPTO-convertible types (such as vector registers and masks) under scalar i1 conditions in both VPTOCANN900LLVMEmitter and VPTOLLVMEmitter. It also includes corresponding lit tests. The feedback suggests removing the deprecated and redundant mkdir -p %T command from the lit test RUN line to prevent potential race conditions.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
| // INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. | ||
| // See LICENSE in the root of the software repository for the full text of the License. | ||
|
|
||
| // RUN: ( mkdir -p %T && ptoas --pto-arch=a5 --pto-backend=vpto %s -o %t --mlir-print-ir-after=convert-func-to-llvm 2>&1 || true ) | FileCheck %s |
There was a problem hiding this comment.
The use of %T is deprecated in LLVM lit because it is a shared directory across tests and can lead to race conditions or flakiness. Since lit automatically creates the directory containing %t before running the test, mkdir -p %T is redundant and can be safely removed.
// RUN: ( ptoas --pto-arch=a5 --pto-backend=vpto %s -o %t --mlir-print-ir-after=convert-func-to-llvm 2>&1 || true ) | FileCheck %s
Codex Review该评论由 review 机器人自动更新。
SummaryReview failed at stage Findings未生成结构化 findings,因为 review 过程提前失败。 Log Tail |
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
A3 板测完成(有跳过)
|
Summary
arith.selectin VPTO LLVM emittersarith.selectValidation
git diff --check hw-native-sys/main...HEAD