[llvm] [RISCV] Remove redundant SDNode creation for same reg class value (PR #114348)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 30 22:58:53 PDT 2024
================
@@ -21345,18 +21345,17 @@ bool RISCVTargetLowering::splitValueIntoRegisterParts(
}
if (ValueVT.isRISCVVectorTuple() && PartVT.isRISCVVectorTuple()) {
+#ifndef NDEBUG
----------------
topperc wrote:
If the types don't match then I think we need some operation to represent the type change. So I guess the original code is correct.
https://github.com/llvm/llvm-project/pull/114348
More information about the llvm-commits
mailing list