[PATCH] D110226: [InstCombine] Update InstCombine to use poison instead of undef for shufflevector's placeholder (1/3)

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 22 05:00:21 PDT 2021


spatel accepted this revision.
spatel added a comment.
This revision is now accepted and ready to land.

LGTM - see inline reply about updating a code comment.



================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp:2147
     // truncate), just shuffle in the elements corresponding to the least
     // significant bits from the input and use undef as the second shuffle
     // input.
----------------
use undef -> use poison


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110226



More information about the llvm-commits mailing list