[PATCH] D16598: DAGCombiner: don't do (zext (trunc x)) -> (and x, 65535) if !hasOneUse(trunc x) and zext is free

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 26 13:02:32 PST 2016


arsenm added a subscriber: arsenm.
arsenm added a comment.

Testcase? This should apply to AMDGPU for i64/i32. For AMDGPU at least, I don't think we would want this even if there are multiple uses


Repository:
  rL LLVM

http://reviews.llvm.org/D16598





More information about the llvm-commits mailing list