mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-10 20:42:32 +00:00
Spell the specialization namespace correctly.
Not sure why clang didn't diagnose this (GCC does). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206117 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f6330705bd
commit
2c2ba4c605
@ -535,7 +535,8 @@ bool ARMBaseInstrInfo::isPredicable(MachineInstr *MI) const {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
template <> bool llvm::IsCPSRDead<MachineInstr>(MachineInstr *MI) {
|
namespace llvm {
|
||||||
|
template <> bool IsCPSRDead<MachineInstr>(MachineInstr *MI) {
|
||||||
for (unsigned i = 0, e = MI->getNumOperands(); i != e; ++i) {
|
for (unsigned i = 0, e = MI->getNumOperands(); i != e; ++i) {
|
||||||
const MachineOperand &MO = MI->getOperand(i);
|
const MachineOperand &MO = MI->getOperand(i);
|
||||||
if (!MO.isReg() || MO.isUndef() || MO.isUse())
|
if (!MO.isReg() || MO.isUndef() || MO.isUse())
|
||||||
@ -548,6 +549,7 @@ template <> bool llvm::IsCPSRDead<MachineInstr>(MachineInstr *MI) {
|
|||||||
// all definitions of CPSR are dead
|
// all definitions of CPSR are dead
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// FIXME: Works around a gcc miscompilation with -fstrict-aliasing.
|
/// FIXME: Works around a gcc miscompilation with -fstrict-aliasing.
|
||||||
LLVM_ATTRIBUTE_NOINLINE
|
LLVM_ATTRIBUTE_NOINLINE
|
||||||
|
@ -7975,9 +7975,11 @@ unsigned ARMAsmParser::checkTargetMatchPredicate(MCInst &Inst) {
|
|||||||
return Match_Success;
|
return Match_Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
template <> inline bool llvm::IsCPSRDead<MCInst>(MCInst *Instr) {
|
namespace llvm {
|
||||||
|
template <> inline bool IsCPSRDead<MCInst>(MCInst *Instr) {
|
||||||
return true; // In an assembly source, no need to second-guess
|
return true; // In an assembly source, no need to second-guess
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
static const char *getSubtargetFeatureName(unsigned Val);
|
static const char *getSubtargetFeatureName(unsigned Val);
|
||||||
bool ARMAsmParser::
|
bool ARMAsmParser::
|
||||||
|
Loading…
x
Reference in New Issue
Block a user