HomePhabricator

Adding PoisonValue for representing poison value explicitly in IR

Authored by liuz on Nov 24 2020, 1:55 PM.

Description

Adding PoisonValue for representing poison value explicitly in IR

Define ConstantData::PoisonValue.
Add support for poison value to LLLexer/LLParser/BitcodeReader/BitcodeWriter.
Add support for poison value to llvm-c interface.
Add support for poison value to OCaml binding.
Add m_Poison in PatternMatch.

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

Details

Committed
liuzNov 25 2020, 4:33 PM
Differential Revision
D71126: Adding PoisonValue for representing poison value explicitly in IR
Parents
rG3fb0879867d7: Refactor and simplify class scope name lookup.
Branches
Unknown
Tags
Unknown