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

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 22 12:40:07 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL340441: [X86] Replace (32/64 - n) shift amounts with (neg n) since the shift amount is… (authored by ctopper, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D48789?vs=162025&id=162028#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D48789

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48789.162028.patch
Type: text/x-patch
Size: 34190 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180822/bb5d905e/attachment.bin>


More information about the llvm-commits mailing list