Apparently, the "regType" and "regClass" used in the Sparc backend are not both
authorMisha Brukman <brukman+llvm@gmail.com>
Thu, 3 Jul 2003 18:36:47 +0000 (18:36 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Thu, 3 Jul 2003 18:36:47 +0000 (18:36 +0000)
commit9cedd433eb891e7a441b4f0473f812e400445d64
treee8cd6029f80105541778b6cd9ab1e862d170de6f
parentaf0f37ac4992b1817181103e450f6a752429272e
Apparently, the "regType" and "regClass" used in the Sparc backend are not both
correct: empirically, "regType" is wrong for a number of registers. Thus, one
can only rely on the "regClass" to figure out what kind of register one is
dealing with.

This change switches to using only "regClass" and adds a few extra DEBUG() print
statements and a few clean-ups in comments and code, mostly minor.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7103 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/SparcV9/SparcV9CodeEmitter.cpp
lib/Target/SparcV9/SparcV9CodeEmitter.h