OSDN Git Service

[TargetLowering] Generalise BuildSDIV function
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 3 Aug 2018 10:00:54 +0000 (10:00 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 3 Aug 2018 10:00:54 +0000 (10:00 +0000)
commit5bf23c0ee0103c3ca099069793d464f3967cfa8b
tree55b67e494141881355f5a8a36af9e92d2dbeb488
parent80d3cc7363b473caef0700747787970daf2003f7
[TargetLowering] Generalise BuildSDIV function

First step towards a BuildSDIV equivalent to D49248 for non-uniform vector support - this just pushes the splat detection down into TargetLowering::BuildSDIV where its still used.

Differential Revision: https://reviews.llvm.org/D50185

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@338838 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/TargetLowering.h
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
lib/CodeGen/SelectionDAG/TargetLowering.cpp