]> granicus.if.org Git - llvm/commit
SimplifyDemandedVectorElts for all intrinsics
authorPhilip Reames <listmail@philipreames.com>
Wed, 30 Jan 2019 19:21:11 +0000 (19:21 +0000)
committerPhilip Reames <listmail@philipreames.com>
Wed, 30 Jan 2019 19:21:11 +0000 (19:21 +0000)
commitb132d1b1cb0e68b1b5c85034942ada04acf0cfd8
tree9a34aece233cbab2d2d3cf4f4bd0c77ef874cc85
parente53778de214b17b9d7b8917d11f87e4e60c741ab
SimplifyDemandedVectorElts for all intrinsics

The point is that this simplifies integration of new intrinsics into SimplifiedDemandedVectorElts, and ensures we don't miss any existing ones.

This is intended to be NFC-ish, but as seen from the diffs, can produce slightly different output.  This is due to order of transforms w/in instcombine resulting in two slightly different fixed points.  That's something we should fix, but isn't a problem w/this patch per se.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@352653 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineCalls.cpp
test/Transforms/InstCombine/X86/x86-avx512.ll