[PATCH] D61400: [SelectionDAG] Utilize ARM shift behavior

Shawn Landden via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 1 18:12:02 PDT 2019


shawnl added a comment.

> It's not the end of the world, but would mean that we would need to know that the shift amount is less that 256 as far as I understand.

It only works for this case:

if (n == 0)
 return 0;
else
 return (op0) << (64 - n);


Repository:
  rL LLVM

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

https://reviews.llvm.org/D61400





More information about the llvm-commits mailing list