[PATCH] D124455: [X86] Check the address in machine verifier

Kan Shengchen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 26 18:49:14 PDT 2022


skan added inline comments.


================
Comment at: llvm/test/CodeGen/MIR/X86/machine-verifier-address.mir:1
+# RUN: not --crash llc -march=x86-64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
+# This test ensures that the address is checked in machine verifier.
----------------
pengfei wrote:
> I'm curious why we can verify it without option `-verify-machineinstrs`?
Because when you feed a MIR to llc w/ option `run-pass`,  the verification for MIR is forced to run.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124455



More information about the llvm-commits mailing list