[all-commits] [llvm/llvm-project] d22d42: [GISel] Remove remainder of the concept of an inva...
Craig Topper via All-commits
all-commits at lists.llvm.org
Thu Nov 2 16:59:01 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d22d42cee7523e61df7b092e37aad966ec94810a
https://github.com/llvm/llvm-project/commit/d22d42cee7523e61df7b092e37aad966ec94810a
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-11-02 (Thu, 02 Nov 2023)
Changed paths:
M llvm/include/llvm/CodeGen/RegisterBank.h
M llvm/lib/CodeGen/RegisterBank.cpp
M llvm/lib/CodeGen/RegisterBankInfo.cpp
Log Message:
-----------
[GISel] Remove remainder of the concept of an invalid RegisterBank. (#71118)
RegisterBank no longer has a default constructor so there's no way to
create an invalid register bank.
Remove InvalidID and the isValid method.
Replace the one use of isValid outside of RegBank with a check that the
ID matches so there's still some check of sanity.
More information about the All-commits
mailing list