[PATCH] D84547: [ConstraintElimination] Add constraint elimination pass (WIP).

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 25 11:02:58 PDT 2020


xbolva00 added a comment.

Maybe worth to check if example posted in PR38349  could be optimized this pass or some other pass (cc @nikic)  as well.

int foo(int x, int y) {

  int k = x & 15;
  if(k == 0) {
      int p = x & 7;
      return p == 0; // true
  }
  return y;

}


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D84547





More information about the llvm-commits mailing list