craig.topper added a comment.

If I remember correctly, the Or and And folds for 0 and all 1s are there to 
optimize bitfield codegen for the frontend. Are we losing that optimization if 
this patch goes in before switching clang to InstSimplifyFolder?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116935

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to