mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Use uint16_t to store instruction implicit uses and defs. Reduces static data.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152301 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -189,7 +189,7 @@ Thumb2SizeReduce::Thumb2SizeReduce() : MachineFunctionPass(ID) {
|
||||
}
|
||||
|
||||
static bool HasImplicitCPSRDef(const MCInstrDesc &MCID) {
|
||||
for (const unsigned *Regs = MCID.ImplicitDefs; *Regs; ++Regs)
|
||||
for (const uint16_t *Regs = MCID.getImplicitDefs(); *Regs; ++Regs)
|
||||
if (*Regs == ARM::CPSR)
|
||||
return true;
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user