[all-commits] [llvm/llvm-project] d853ad: [MIR] Fix return value when computed properties co...

Dominik Montada via All-commits all-commits at lists.llvm.org
Wed Sep 25 01:47:37 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d853adee004dcee7d5a4984539c07f08394cf2b4
      https://github.com/llvm/llvm-project/commit/d853adee004dcee7d5a4984539c07f08394cf2b4
  Author: Dominik Montada <dominik.montada at arm.com>
  Date:   2024-09-25 (Wed, 25 Sep 2024)

  Changed paths:
    M llvm/lib/CodeGen/MIRParser/MIRParser.cpp
    A llvm/test/CodeGen/MIR/Generic/machine-function-isssa-conflict.mir
    A llvm/test/CodeGen/MIR/Generic/machine-function-nophis-conflict.mir
    A llvm/test/CodeGen/MIR/Generic/machine-function-novregs-conflict.mir
    R llvm/test/CodeGen/MIR/Generic/machine-function-optionally-computed-properties-conflict.mir

  Log Message:
  -----------
  [MIR] Fix return value when computed properties conflict with given prop (#109923)

This fixes a test failure when expensive checks are enabled. Use the
correct return value when computing machine function properties resulted
in an error (e.g. when conflicting with explicitly set values).

Without this, the machine verifier would crash even in the presence of
parsing errors which should have gently terminated execution.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list