[all-commits] [llvm/llvm-project] 26ea98: [Verifier] Allow undef/poison in entry_values expr...

Felipe de Azevedo Piovezan via All-commits all-commits at lists.llvm.org
Thu Aug 17 06:16:23 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 26ea983d228dd00db1599c7718fa687e5e0bbe6a
  Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
  Date:   2023-08-17 (Thu, 17 Aug 2023)

  Changed paths:
    M llvm/lib/IR/Verifier.cpp
    M llvm/test/Verifier/diexpression-entry-value-llvm-ir.ll

  Log Message:
  [Verifier] Allow undef/poison in entry_values expressions.

This patch relaxes the verifier when it checks whether an OP_entry_value has a
valid Value associated with it. We now allow undef/poison values as well, since
those may be introduced naturally through optimization.

Differential Revision: https://reviews.llvm.org/D158101

More information about the All-commits mailing list