[PATCH] D102842: [Verifier] Fail on invalid indices for {insert,extract} vector intrinsics
Fraser Cormack via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 17 01:39:28 PDT 2021
frasercrmck added inline comments.
================
Comment at: llvm/test/CodeGen/RISCV/rvv/fixed-vectors-insert-subvector.ll:92
- %sv = load <8 x i32>, <8 x i32>* %svp
- %v = call <vscale x 8 x i32> @llvm.experimental.vector.insert.v8i32.nxv8i32(<vscale x 8 x i32> %vec, <8 x i32> %sv, i64 4)
- ret <vscale x 8 x i32> %v
----------------
david-arm wrote:
> Is it worth keeping this test, but changing the index of 4 to 8?
Don't think so because the test below uses an index of 8. Axe it, I say. And thanks for catching this!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102842/new/
https://reviews.llvm.org/D102842
More information about the llvm-commits
mailing list