[PATCH] D42485: InstSimplify: If divisor element is undef simplify to undef

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 12 16:44:03 PST 2018


spatel added a comment.

We have the correct logic in 'isUndefShift()':

  // If all lanes of a vector shift are undefined the whole shift is.


Repository:
  rL LLVM

https://reviews.llvm.org/D42485





More information about the llvm-commits mailing list