[llvm] [CodeGen] Remove redundant checks (PR #99524)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 18 11:57:38 PDT 2024


topperc wrote:

> It turns out we can safely use DAG.computeKnownBits(N0).countMinLeadingZeros() with constant legal vectors, so remove the check for it.

It is safe, but you have to write tests for it.

https://github.com/llvm/llvm-project/pull/99524


More information about the llvm-commits mailing list