[PATCH] D101582: [InstCombine] cttz(zext(x)) -> zext(cttz(x)) if the 'ZeroIsUndef' parameter is 'true' (PR50172)

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 29 15:33:42 PDT 2021


xbolva00 added inline comments.


================
Comment at: llvm/test/Transforms/InstCombine/cttz.ll:8
+
+define i32 @cttz_zext_zero_undef(i16 %x) {
+; CHECK-LABEL: @cttz_zext_zero_undef(
----------------
Enough tests?


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

https://reviews.llvm.org/D101582



More information about the llvm-commits mailing list