[PATCH] D48789: [X86] Replace (32/64 - n) shift amounts with (neg n) since the shift amount is masked in hardware

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 8 13:43:26 PDT 2018


craig.topper updated this revision to Diff 154527.
craig.topper added a comment.

Rebase and capture the value returned form UpdateNodeOperands.


Repository:
  rL LLVM

https://reviews.llvm.org/D48789

Files:
  lib/Target/X86/X86ISelDAGToDAG.cpp
  test/CodeGen/X86/clear-lowbits.ll
  test/CodeGen/X86/extract-lowbits.ll
  test/CodeGen/X86/schedule-x86-64-shld.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48789.154527.patch
Type: text/x-patch
Size: 33310 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180708/9e23e12f/attachment.bin>


More information about the llvm-commits mailing list