mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-03 17:02:03 +00:00
Fix not calling TargetCustom PSVs printer
If the enum value was greater than the starting target custom value, the custom printer wasn't called. llvm-svn: 363386
This commit is contained in:
parent
8df7e16618
commit
ddcd07d19a
@ -1138,7 +1138,7 @@ void MachineMemOperand::print(raw_ostream &OS, ModuleSlotTracker &MST,
|
||||
printLLVMNameWithoutPrefix(
|
||||
OS, cast<ExternalSymbolPseudoSourceValue>(PVal)->getSymbol());
|
||||
break;
|
||||
case PseudoSourceValue::TargetCustom:
|
||||
default:
|
||||
// FIXME: This is not necessarily the correct MIR serialization format for
|
||||
// a custom pseudo source value, but at least it allows
|
||||
// -print-machineinstrs to work on a target with custom pseudo source
|
||||
|
Loading…
Reference in New Issue
Block a user