mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
Print earlyclobber for implicit-defs as well.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84152 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
085b9c034f
commit
0789707c49
@ -212,17 +212,17 @@ void MachineOperand::print(raw_ostream &OS, const TargetMachine *TM) const {
|
||||
isEarlyClobber()) {
|
||||
OS << '<';
|
||||
bool NeedComma = false;
|
||||
if (isImplicit()) {
|
||||
if (NeedComma) OS << ',';
|
||||
OS << (isDef() ? "imp-def" : "imp-use");
|
||||
NeedComma = true;
|
||||
} else if (isDef()) {
|
||||
if (isDef()) {
|
||||
if (NeedComma) OS << ',';
|
||||
if (isEarlyClobber())
|
||||
OS << "earlyclobber,";
|
||||
if (isImplicit())
|
||||
OS << "imp-";
|
||||
OS << "def";
|
||||
NeedComma = true;
|
||||
}
|
||||
} else if (isImplicit())
|
||||
OS << "imp-use";
|
||||
|
||||
if (isKill() || isDead() || isUndef()) {
|
||||
if (NeedComma) OS << ',';
|
||||
if (isKill()) OS << "kill";
|
||||
|
Loading…
x
Reference in New Issue
Block a user