Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NFC][ValueTracking]: Remove redundant computeKnownBits call for Load…
…Inst in isKnownNonZero For load instructions, computeKnownBits only checks the range metadata. This check is already present in isKnownNonZero, so there is no need to fall through to computeKnownBits. This change gives a speed improvement of 0.12-0.18%: https://llvm-compile-time-tracker.com/compare.php?from=3c6ed559e5274307995586c1499a2c8e4e0276a0&to=78b462d8c4ae079638b728c6446da5999c4ee9f8&stat=instructions:u Differential Revision: https://reviews.llvm.org/D155958
- Loading branch information