When nesting INSERT_SUBREG and EXTRACT_SUBREG, GlobalISelEmitter would
fail to find the register class of the nested node. This patch fixes
that for registers with subregs.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/utils/TableGen/GlobalISelEmitter.cpp | ||
---|---|---|
4954 | I don't see what you are saying. There was no else after return pattern here before, and I don't see how this is continuing it. The elses can be removed and this will be a sequence of if () { foo(); return } |
llvm/utils/TableGen/GlobalISelEmitter.cpp | ||
---|---|---|
4954 | Okay, I see what you're saying now. I'll fix it right away. |
This is missing the checks?