[all-commits] [llvm/llvm-project] 13deb6: Exact ashr/lshr don't loose any set bits and are t...

Philip Reames via All-commits all-commits at lists.llvm.org
Mon Apr 5 19:22:55 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 13deb6aac723e5694d404f21ee136e9773eb27a6
      https://github.com/llvm/llvm-project/commit/13deb6aac723e5694d404f21ee136e9773eb27a6
  Author: Philip Reames <listmail at philipreames.com>
  Date:   2021-04-05 (Mon, 05 Apr 2021)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/test/Analysis/ValueTracking/known-non-equal.ll

  Log Message:
  -----------
  Exact ashr/lshr don't loose any set bits and are thus trivially invertible

Use that fact to improve isKnownNonEqual.




More information about the All-commits mailing list