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

Dan Robertson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 24 17:24:50 PDT 2019


dlrobertson marked an inline comment as not done.
dlrobertson added inline comments.


================
Comment at: llvm/test/Transforms/InstCombine/cttz.ll:31
+  ret i32 %res
+}
----------------
dlrobertson wrote:
> nikic wrote:
> > 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.
> +1 sounds good
After looking at this, I'm not sure how this would work. The input value `x` would be a vector, but you can not `br` on a vector of `i1`s


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

https://reviews.llvm.org/D60932





More information about the llvm-commits mailing list