[PATCH] D50018: SystemZ: keep AND masks before SHL i128

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 30 15:24:47 PDT 2018


efriedma added a comment.

The transform is wrong whether or not the shift type is legal: ISD::SHL returns poison for out-of-range shifts, just like the IR "shl", and DAGCombine will take advantage of this.


Repository:
  rL LLVM

https://reviews.llvm.org/D50018





More information about the llvm-commits mailing list