[all-commits] [llvm/llvm-project] 882e4c: [AIX][AsmPrinter] Print Symbol in comments for TOC...

jsji via All-commits all-commits at lists.llvm.org
Tue May 25 09:38:06 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 882e4cbd7477995f580058ddd5dfe68a947527b6
      https://github.com/llvm/llvm-project/commit/882e4cbd7477995f580058ddd5dfe68a947527b6
  Author: Jinsong Ji <jji at us.ibm.com>
  Date:   2021-05-25 (Tue, 25 May 2021)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
    M llvm/test/CodeGen/PowerPC/aix-overflow-toc.py
    M llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/ppc_generated_funcs.ll.generated.expected
    M llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/ppc_generated_funcs.ll.nogenerated.expected

  Log Message:
  -----------
  [AIX][AsmPrinter] Print Symbol in comments for TOC load

We are using TOCEntry symbols like `LC..0` in TOC loads,
this is hard to read , at least requiring an additional step to figure
out the loaded symbols.

We should print out the name in comments.

Reviewed By: #powerpc, shchenz

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




More information about the All-commits mailing list