[llvm] [TableGen] Fix concatenation of subreg and artificial subregs (PR #114391)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 4 05:42:19 PST 2024


================
@@ -411,6 +410,9 @@ CodeGenRegister::computeSubRegs(CodeGenRegBank &RegBank) {
         Parts.push_back(getSubRegIndex(SR->ExplicitSubRegs[j]));
----------------
jayfoad wrote:

Nit: could break out early if I.Artificial.

https://github.com/llvm/llvm-project/pull/114391


More information about the llvm-commits mailing list