[llvm-dev] [llvm-reduce] Reduction to undef/poison/null?

Arthur Eubanks via llvm-dev llvm-dev at lists.llvm.org
Mon Aug 30 10:50:15 PDT 2021


Currently in llvm-reduce when we try to remove instructions, we'll RAUW
them with undef. But it seems nicer to have the final IR use null values
(e.g. 0, zeroinitializer, etc) rather than undef. Should we attempt to use
null values? Or why undef over poison?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210830/b7a068f5/attachment.html>


More information about the llvm-dev mailing list