[PATCH] D133036: [InstCombine] Treat passing undef to noundef params as UB

Nikita Popov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 12 09:21:10 PST 2022


nikic added a comment.

@TimNN Do you have an IR sample for this? DAE is supposed to strip UB-implying attributes when converting arguments to poison here: https://github.com/llvm/llvm-project/blob/cbe5b2dd914b7ee47bb4d0f67af154a40be4d208/llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp#LL291C17-L291C37


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133036/new/

https://reviews.llvm.org/D133036



More information about the cfe-commits mailing list