aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/AssumptionCache.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2017-09-01 21:09:04 +0000
committerSanjay Patel <spatel@rotateright.com>2017-09-01 21:09:04 +0000
commitf4425e9a66bb16df5f7857bfa7dbd504829cc0d0 (patch)
tree9d3d5e5a8a960be0dd3cc89578e0af723d6d2aa0 /llvm/lib/Analysis/AssumptionCache.cpp
parentdbfda5b60143d496ba89cc39b1c3a1b9c9006e50 (diff)
downloadllvm-f4425e9a66bb16df5f7857bfa7dbd504829cc0d0.zip
llvm-f4425e9a66bb16df5f7857bfa7dbd504829cc0d0.tar.gz
llvm-f4425e9a66bb16df5f7857bfa7dbd504829cc0d0.tar.bz2
[x86] eliminate redundant shuffle of horizontal math ops when both inputs are the same
This is limited to a set of patterns based on the example in PR34111: https://bugs.llvm.org/show_bug.cgi?id=34111 ...but as I was investigating this, I see that horizontal patterns can go wrong in many, many other ways that would not be handled by this patch. Each data type may even go different in the DAG after starting with the same basic IR pattern, so even proper IR canonicalization won't fix it all. Differential Revision: https://reviews.llvm.org/D37357 llvm-svn: 312379
Diffstat (limited to 'llvm/lib/Analysis/AssumptionCache.cpp')
0 files changed, 0 insertions, 0 deletions