[all-commits] [llvm/llvm-project] 0a146a: [AIX] asm output: use character literals in byte l...

Hubert Tong via All-commits all-commits at lists.llvm.org
Tue Sep 29 18:14:58 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0a146a9d0bdd54411f0b0712e27481a4c280ae03
      https://github.com/llvm/llvm-project/commit/0a146a9d0bdd54411f0b0712e27481a4c280ae03
  Author: Hubert Tong <hubert.reinterpretcast at gmail.com>
  Date:   2020-09-29 (Tue, 29 Sep 2020)

  Changed paths:
    M llvm/include/llvm/MC/MCAsmInfo.h
    M llvm/lib/MC/MCAsmInfoXCOFF.cpp
    M llvm/lib/MC/MCAsmStreamer.cpp
    A llvm/test/CodeGen/PowerPC/aix-bytestring.ll
    M llvm/test/CodeGen/PowerPC/aix-xcoff-data.ll
    M llvm/test/CodeGen/PowerPC/aix-xcoff-mergeable-str.ll
    M llvm/test/CodeGen/PowerPC/aix-xcoff-rodata.ll

  Log Message:
  -----------
  [AIX] asm output: use character literals in byte lists for strings

This patch improves the assembly output produced for string literals by
using character literals in byte lists. This provides the benefits of
having printable characters appear as such in the assembly output and of
having strings kept as logical units on the same line.

Reviewed By: daltenty

Differential Revision: https://reviews.llvm.org/D80953




More information about the All-commits mailing list