summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-06-12 12:42:13 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-06-12 12:42:13 +0000
commit0b9319edb08819ca21a362783debf00b3471f1ce (patch)
tree046353803e20a0e986237e4a13f99fd921208b20
parentde28b7375f2764e9e7ae2fbf76d6e927aa930480 (diff)
downloadbcm5719-llvm-0b9319edb08819ca21a362783debf00b3471f1ce.tar.gz
bcm5719-llvm-0b9319edb08819ca21a362783debf00b3471f1ce.zip
Remove a hack that tries to align '*'.
The alignment is not required, so we can just remove it for now. The old code is a hack as it depends on the buffer management to find the current column. If the alignment is really desirable, the proper way to do it is to pass in a formatted_raw_stream that knows the current column. llvm-svn: 239603
-rw-r--r--llvm/lib/Target/R600/InstPrinter/AMDGPUInstPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/R600/InstPrinter/AMDGPUInstPrinter.cpp b/llvm/lib/Target/R600/InstPrinter/AMDGPUInstPrinter.cpp
index f70676943bb..e811d5cff22 100644
--- a/llvm/lib/Target/R600/InstPrinter/AMDGPUInstPrinter.cpp
+++ b/llvm/lib/Target/R600/InstPrinter/AMDGPUInstPrinter.cpp
@@ -424,7 +424,7 @@ void AMDGPUInstPrinter::printLiteral(const MCInst *MI, unsigned OpNo,
void AMDGPUInstPrinter::printLast(const MCInst *MI, unsigned OpNo,
raw_ostream &O) {
- printIfSet(MI, OpNo, O.indent(25 - O.GetNumBytesInBuffer()), "*", " ");
+ printIfSet(MI, OpNo, O, "*", " ");
}
void AMDGPUInstPrinter::printNeg(const MCInst *MI, unsigned OpNo,
OpenPOWER on IntegriCloud