[PATCH] D124988: [DAGCombiner] Fold (sext/zext undef) -> 0 and aext(undef) -> undef.

Jessica Clarke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 5 10:49:10 PDT 2022


jrtc27 added a comment.

What's the justification for 0 rather than undef? That the high bits need to be guaranteed equal even for undef input?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124988



More information about the llvm-commits mailing list