[PATCH] D106668: [DAG] Add initial SelectionDAG::isGuaranteedNotToBeUndefOrPoison framework (PR51129)

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 23 07:45:28 PDT 2021


RKSimon created this revision.
RKSimon added reviewers: efriedma, aqjune, spatel.
Herald added subscribers: ecnelises, steven.zhang, hiraditya.
RKSimon requested review of this revision.
Herald added a project: LLVM.

I've setup the basic framework for the isGuaranteedNotToBeUndefOrPoison call and updated DAGCombiner::visitFREEZE to use it, further Opcodes can be handled when we have test coverage.

I'm not aware of any vector test freeze coverage so the DemandedElts (and the Depth) args are not being used yet - but they are in place.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D106668

Files:
  llvm/include/llvm/CodeGen/SelectionDAG.h
  llvm/include/llvm/CodeGen/TargetLowering.h
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106668.361205.patch
Type: text/x-patch
Size: 6016 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210723/7e5adcfa/attachment.bin>


More information about the llvm-commits mailing list