[PATCH] D93685: [MIRPrinter] Fix incorrect output of unnamed stack names

Daniil Fukalov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 23 16:53:35 PST 2020


dfukalov added inline comments.


================
Comment at: llvm/test/CodeGen/MIR/AArch64/unnamed-stack.ll:3
+; RUN: llc -march aarch64 -run-pass=none -o - %t.mir | FileCheck %s
+
+define i16 @unnamed_stack() {
----------------
arsenm wrote:
> Add a brief comment explaining that this checks round tripping anonymous allocas
Ok, for roundtrip it can be used like `llc -O0 -march aarch64 -global-isel -stop-after=irtranslator -o - %s | llc -x mir llc -march aarch64 -run-pass=none -o - | FileCheck %s` without creating a temporary file.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93685/new/

https://reviews.llvm.org/D93685



More information about the llvm-commits mailing list