[PATCH] D50765: [TargetLowering] Add support for non-uniform vectors to BuildSDIV

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 15 04:41:03 PDT 2018


RKSimon created this revision.
RKSimon added reviewers: efriedma, spatel, craig.topper, lebedev.ri, andreadb.

This patch refactors the existing TargetLowering::BuildSDIV base implementation to support non-uniform constant vector denominators.

This is the last patch necessary to close PR36545


Repository:
  rL LLVM

https://reviews.llvm.org/D50765

Files:
  lib/CodeGen/SelectionDAG/TargetLowering.cpp
  test/CodeGen/X86/combine-sdiv.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50765.160774.patch
Type: text/x-patch
Size: 44184 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180815/6e849b65/attachment.bin>


More information about the llvm-commits mailing list