[all-commits] [llvm/llvm-project] b9a7c8: [MIRPrinter] Fix incorrect output of unnamed stack...

llvmbot via All-commits all-commits at lists.llvm.org
Mon Dec 28 09:06:56 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b9a7c89d4322b261b65eb96d678a9d38b776cb60
      https://github.com/llvm/llvm-project/commit/b9a7c89d4322b261b65eb96d678a9d38b776cb60
  Author: Gabriel Hjort Ã…kerlund <gabriel.hjort.akerlund at ericsson.com>
  Date:   2020-12-28 (Mon, 28 Dec 2020)

  Changed paths:
    M llvm/lib/CodeGen/MIRPrinter.cpp
    A llvm/test/CodeGen/MIR/AArch64/unnamed-stack.ll
    M llvm/test/CodeGen/PowerPC/alloca-crspill.ll

  Log Message:
  -----------
  [MIRPrinter] Fix incorrect output of unnamed stack names

The MIRParser expects unnamed stack entries to have empty names ('').
In case of unnamed alloca instructions, the MIRPrinter would output
'<unnamed alloca>', which caused the MIRParser to reject the generated
code.

Reviewed By: arsenm

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




More information about the All-commits mailing list