Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/include/clang/Basic/riscv_vector.td | ||
---|---|---|
2545 | Does SemaChecking.cpp already guarantee Index is less than Maxindex? |
clang/include/clang/Basic/riscv_vector.td | ||
---|---|---|
2545 | Actually it looks like maybe SemaChecking considers MaxIndex to be LMUL*NF? Does that mean vget can extract an LMUL1 value from an LMUL4 tuple? |
clang/include/clang/Basic/riscv_vector.td | ||
---|---|---|
2545 | Modified code under SemaChecking.cpp for vector tuple types. |
clang/include/clang/Basic/riscv_vector.td | ||
---|---|---|
2542 | You can drop this assert. cast already has the same assert. | |
2545 | Does this min do anything or does SemaChecking already guarantee it? | |
clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/vget_tuple.c | ||
19 | index argument is unused | |
clang/test/CodeGen/RISCV/rvv-intrinsics-handcrafted/vget-index-out-of-range.c | ||
343 | index argument is unused |
Address comments from Craig.`
clang/include/clang/Basic/riscv_vector.td | ||
---|---|---|
2545 | Yes, SemaChecking should be able to guard the value correctly and this line is redundant. |
You can drop this assert. cast already has the same assert.