mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 23:17:16 +00:00
Rename COPY_TO_SUBCLASS to COPY_TO_REGCLASS, and generalize
it accordingly. Thanks to Jakob Stoklund Olesen for pointing out how this might be useful. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68986 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -34,7 +34,7 @@ void CodeEmitterGen::reverseBits(std::vector<Record*> &Insts) {
|
||||
R->getName() == "INSERT_SUBREG" ||
|
||||
R->getName() == "IMPLICIT_DEF" ||
|
||||
R->getName() == "SUBREG_TO_REG" ||
|
||||
R->getName() == "COPY_TO_SUBCLASS") continue;
|
||||
R->getName() == "COPY_TO_REGCLASS") continue;
|
||||
|
||||
BitsInit *BI = R->getValueAsBitsInit("Inst");
|
||||
|
||||
@@ -111,7 +111,7 @@ void CodeEmitterGen::run(std::ostream &o) {
|
||||
R->getName() == "INSERT_SUBREG" ||
|
||||
R->getName() == "IMPLICIT_DEF" ||
|
||||
R->getName() == "SUBREG_TO_REG" ||
|
||||
R->getName() == "COPY_TO_SUBCLASS") {
|
||||
R->getName() == "COPY_TO_REGCLASS") {
|
||||
o << " 0U,\n";
|
||||
continue;
|
||||
}
|
||||
@@ -149,7 +149,7 @@ void CodeEmitterGen::run(std::ostream &o) {
|
||||
InstName == "INSERT_SUBREG" ||
|
||||
InstName == "IMPLICIT_DEF" ||
|
||||
InstName == "SUBREG_TO_REG" ||
|
||||
InstName == "COPY_TO_SUBCLASS") continue;
|
||||
InstName == "COPY_TO_REGCLASS") continue;
|
||||
|
||||
BitsInit *BI = R->getValueAsBitsInit("Inst");
|
||||
const std::vector<RecordVal> &Vals = R->getValues();
|
||||
|
||||
Reference in New Issue
Block a user