[PATCH] D42783: [DAGCombiner] When folding fold (sext/zext (and/or/xor (sextload/zextload x), cst)) -> (and/or/xor (sextload/zextload x), (sext/zext cst)) make sure we check the legality of the full extended load.

Nirav Dave via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 3 11:45:46 PST 2018


niravd accepted this revision.
niravd added a comment.
This revision is now accepted and ready to land.

LGTM.

Related question: Should the check be TLI.isLoadExtLegalOrCustom?


Repository:
  rL LLVM

https://reviews.llvm.org/D42783





More information about the llvm-commits mailing list