diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2003-05-27 22:44:44 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2003-05-27 22:44:44 +0000 |
commit | 3c4cf15f760b47c76d610507f1fce48872c15405 (patch) | |
tree | 94962076f803265ccf2c558871b85325c30b1278 | |
parent | 3432d1d1d5684098cdfd6e16f0ab6f209d0973b4 (diff) |
Added the 'r' and 'i' annotations to instructions as their opcode names have
changed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6380 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/SparcV9/SparcV9Internals.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/SparcV9/SparcV9Internals.h b/lib/Target/SparcV9/SparcV9Internals.h index 8589f8e42c..c8958d2697 100644 --- a/lib/Target/SparcV9/SparcV9Internals.h +++ b/lib/Target/SparcV9/SparcV9Internals.h @@ -90,14 +90,14 @@ struct UltraSparcInstrInfo : public TargetInstrInfo { bool ignore; if (this->maxImmedConstant(opCode, ignore) != 0) { // 1st store opcode - assert(! this->isStore((MachineOpCode) V9::STB - 1)); //r + assert(! this->isStore((MachineOpCode) V9::STBr - 1)); // last store opcode - assert(! this->isStore((MachineOpCode) V9::STXFSR + 1)); //i + assert(! this->isStore((MachineOpCode) V9::STXFSRi + 1)); if (opCode == V9::SETSW || opCode == V9::SETUW || opCode == V9::SETX || opCode == V9::SETHI) return 0; - if (opCode >= V9::STB && opCode <= V9::STXFSR) //r, i + if (opCode >= V9::STBr && opCode <= V9::STXFSRi) return 2; return 1; } |