[llvm] [TableGen] Fix concatenation of subreg and artificial subregs (PR #114391)
Sander de Smalen via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 4 03:55:22 PST 2024
================
@@ -411,6 +410,9 @@ CodeGenRegister::computeSubRegs(CodeGenRegBank &RegBank) {
Parts.push_back(getSubRegIndex(SR->ExplicitSubRegs[j]));
}
+ if (Parts.size() < 2)
+ continue;
----------------
sdesmalen-arm wrote:
@jayfoad are you happy with the latest change? (apologies for the prod, I wasn't sure if you noticed I had addressed your comment)
https://github.com/llvm/llvm-project/pull/114391
More information about the llvm-commits
mailing list