[PATCH] D126661: [MachineVerifier] Fix crash on early clobbered subreg operands.

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 9 18:59:34 PDT 2022


arsenm added inline comments.


================
Comment at: llvm/test/MachineVerifier/verifier-ec-subreg-liveness.mir:1
+# RUN: llc -mtriple amdgcn-amd-amdhsa -run-pass=liveintervals,simple-register-coalescing -verify-machineinstrs -o - %s | FileCheck %s
+# REQUIRES: amdgpu-registered-target
----------------
dfukalov wrote:
> arsenm wrote:
> > tests in test/MachineVerifier should run none to just run the verifier. Shouldn't be running codegen passes
> The crush is observed only when the verifier runs after a pass that has preserved liveintervals analysis.
llc -march=amdgcn -run-pass liveintervals -verify-machineinstrs should work. Don't want to rely on a pass that could make changes for testing this


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D126661



More information about the llvm-commits mailing list