[PATCH] D30119: MachineRegionInfo: fix pass initialization

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 17 15:19:33 PST 2017


MatzeB added inline comments.


================
Comment at: test/CodeGen/MIR/Generic/machine-region-info.ll:1-2
+; RUN: llc -stop-after virtregrewriter %s -o %t.mir
+; RUN: llc -run-pass=machineregions %t.mir -debug-only=machineregions 2>&1 | FileCheck %s
+
----------------
I'd try to write a .mir test directly, instead of only generating it as an intermediate step.


https://reviews.llvm.org/D30119





More information about the llvm-commits mailing list