[PATCH] D60932: [NFC] Add baseline tests for int isKnownNonZero

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 22 08:59:27 PDT 2019


nikic added inline comments.


================
Comment at: llvm/test/Transforms/InstCombine/cttz.ll:31
+  ret i32 %res
+}
----------------
It would be good to also test the ctlz case here. Possibly with a vector type, so we have at least one test that checks this transform with a vector zero.


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

https://reviews.llvm.org/D60932





More information about the llvm-commits mailing list