diff options
| author | Alex Lorenz <arphaman@gmail.com> | 2015-08-19 23:31:05 +0000 | 
|---|---|---|
| committer | Alex Lorenz <arphaman@gmail.com> | 2015-08-19 23:31:05 +0000 | 
| commit | dd13be0bccc888926cb5a5e81912b89b28142669 (patch) | |
| tree | 7111d88094455929df5f323269a9221a38e8dafa /llvm/lib/CodeGen/MIRPrinter.cpp | |
| parent | 36593ac51b81952977a83955e82a83df56052db7 (diff) | |
| download | bcm5719-llvm-dd13be0bccc888926cb5a5e81912b89b28142669.tar.gz bcm5719-llvm-dd13be0bccc888926cb5a5e81912b89b28142669.zip  | |
MIR Serialization: Serialize unnamed local IR values in memory operands.
llvm-svn: 245521
Diffstat (limited to 'llvm/lib/CodeGen/MIRPrinter.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/MIRPrinter.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MIRPrinter.cpp b/llvm/lib/CodeGen/MIRPrinter.cpp index df2f441a031..e9ecba404b6 100644 --- a/llvm/lib/CodeGen/MIRPrinter.cpp +++ b/llvm/lib/CodeGen/MIRPrinter.cpp @@ -608,13 +608,13 @@ void MIPrinter::printIRBlockReference(const BasicBlock &BB) {  }  void MIPrinter::printIRValueReference(const Value &V) { +  // TODO: Global values should use the '@' syntax.    OS << "%ir.";    if (V.hasName()) {      printLLVMNameWithoutPrefix(OS, V.getName());      return;    } -  // TODO: Serialize the unnamed IR value references. -  OS << "<unserializable ir value>"; +  printIRSlotNumber(OS, MST.getLocalSlot(&V));  }  void MIPrinter::printStackObjectReference(int FrameIndex) {  | 

