Unverified Commit 4bce2701 authored by Guy David's avatar Guy David Committed by GitHub
Browse files

[mlir][llvm] Implement ConstantLike for ZeroOp, UndefOp, PoisonOp (#93690)



These act as constants and should be propagated whenever possible. It is
safe to do so for mlir.undef and mlir.poison because they remain "dirty"
through out their lifetime and can be duplicated, merged, etc. per the
LangRef.

Signed-off-by: default avatarGuy David <guy.david@nextsilicon.com>
parent 6a3982f8
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment