[PATCH] D73412: [TargetLowering] Remove ashr if all our demandedbits already match the sign bit

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 25 03:27:16 PST 2020


RKSimon created this revision.
RKSimon added reviewers: arsenm, asb, lebedev.ri, spatel.
Herald added subscribers: kerbowa, luismarques, apazos, sameer.abuasal, pzheng, s.egerton, lenary, Jim, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, MaskRay, jrtc27, niosHD, sabuasal, simoncook, johnrusso, rbar, hiraditya, nhaehnle, wdng, jvesely.
Herald added a project: LLVM.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D73412

Files:
  llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
  llvm/test/CodeGen/AMDGPU/sdiv64.ll
  llvm/test/CodeGen/AMDGPU/srem64.ll
  llvm/test/CodeGen/RISCV/srem-vector-lkk.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73412.240369.patch
Type: text/x-patch
Size: 11367 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200125/0aaf6d54/attachment.bin>


More information about the llvm-commits mailing list