[PATCH] D131955: [InstSimplify] Remove and(x.c) if all the known bits are handled just by x or c

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 16 06:57:23 PDT 2022


spatel added a comment.

I tried a compile-time-tracker experiment with this patch applied, and it shows a slight, but noticeable compile-time hit, so I'd say it's not worth doing for a theoretical win:
https://llvm-compile-time-tracker.com/?config=NewPM-O3&stat=instructions&remote=rotateright


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131955



More information about the llvm-commits mailing list