[all-commits] [llvm/llvm-project] ced125: MIRParser: Fix asserting with invalid flags on mac...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Apr 5 18:46:38 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ced1250b0f458c3dfeecb8157dd4838d87c8288d
      https://github.com/llvm/llvm-project/commit/ced1250b0f458c3dfeecb8157dd4838d87c8288d
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2022-04-05 (Tue, 05 Apr 2022)

  Changed paths:
    M llvm/lib/CodeGen/MIRParser/MIParser.cpp
    A llvm/test/CodeGen/MIR/AMDGPU/dead-flag-on-use-operand-parse-error.mir
    A llvm/test/CodeGen/MIR/AMDGPU/killed-flag-on-def-parse-error.mir

  Log Message:
  -----------
  MIRParser: Fix asserting with invalid flags on machine operands

Constructing an operand with kills on defs and deads on uses asserts
in the constructor, so diagnose these.




More information about the All-commits mailing list