[PATCH] D71126: Add Poison Value

Zhengyang Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 6 08:57:32 PST 2019


liuz created this revision.
liuz added reviewers: nlopes, aqjune, regehr, hfinkel, reames, lebedev.ri, RKSimon, craig.topper.
Herald added a reviewer: whitequark.
Herald added subscribers: llvm-commits, dexonsmith, steven_wu, hiraditya, mehdi_amini.
Herald added a reviewer: deadalnix.
Herald added a project: LLVM.

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.
Lower poison to undef in SelDag, GlobalISel and FastISel.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D71126

Files:
  llvm/bindings/ocaml/llvm/llvm.ml
  llvm/bindings/ocaml/llvm/llvm.mli
  llvm/bindings/ocaml/llvm/llvm_ocaml.c
  llvm/include/llvm-c/Core.h
  llvm/include/llvm/Bitcode/LLVMBitCodes.h
  llvm/include/llvm/IR/Constants.h
  llvm/include/llvm/IR/PatternMatch.h
  llvm/include/llvm/IR/Value.def
  llvm/lib/AsmParser/LLLexer.cpp
  llvm/lib/AsmParser/LLParser.cpp
  llvm/lib/AsmParser/LLParser.h
  llvm/lib/AsmParser/LLToken.h
  llvm/lib/Bitcode/Reader/BitcodeReader.cpp
  llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
  llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
  llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
  llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  llvm/lib/IR/AsmWriter.cpp
  llvm/lib/IR/Constants.cpp
  llvm/lib/IR/Core.cpp
  llvm/lib/IR/LLVMContextImpl.h
  llvm/test/Bindings/OCaml/core.ml
  llvm/test/Bitcode/compatibility.ll
  llvm/test/CodeGen/X86/poison-ops.ll
  llvm/tools/llvm-c-test/echo.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71126.232582.patch
Type: text/x-patch
Size: 36531 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191206/a0a37adf/attachment.bin>


More information about the llvm-commits mailing list