[all-commits] [llvm/llvm-project] d79312: RISCV: Remove faulty assert that ignored subregist...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Tue May 27 14:35:09 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d79312b28c5c1c9cfddbd1de80a8bd942e2cbff4
https://github.com/llvm/llvm-project/commit/d79312b28c5c1c9cfddbd1de80a8bd942e2cbff4
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2025-05-27 (Tue, 27 May 2025)
Changed paths:
M llvm/lib/Target/RISCV/RISCVVLOptimizer.cpp
A llvm/test/CodeGen/RISCV/rvv/vl-optimizer-subreg-assert.mir
Log Message:
-----------
RISCV: Remove faulty assert that ignored subregister uses (#141658)
This was asserting the raw virtual register class was a scalar
class, instead of computing the net result of the register class
plus the subregister index on the operand. The machine verifier
should be checking this was a valid combination in the first place,
so just drop the assert.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list