[PATCH] D58874: [DAGCombiner] fold (add (add (xor a, -1), b), 1) -> (sub b, a)

Amaury SECHET via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 3 12:28:16 PST 2019


deadalnix added a comment.

All the pattern I submit in DAGCombiner are extracted from actual code -in this case libraries doing cryptography). I never encountered the vector version of this but I'm happy to add test cases for them if this is of interest.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D58874





More information about the llvm-commits mailing list