diff options
author | Sanjay Patel <spatel@rotateright.com> | 2015-03-24 20:36:42 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2015-03-24 20:36:42 +0000 |
commit | 43a87fdc795646eec1df55b7792797008cc6520b (patch) | |
tree | 107b3144ad465345b781c72f742c85baa6cc419d /clang/lib/Frontend/CompilerInstance.cpp | |
parent | 1a94ccbec82acabc40739108d2e69474686599fe (diff) | |
download | llvm-43a87fdc795646eec1df55b7792797008cc6520b.zip llvm-43a87fdc795646eec1df55b7792797008cc6520b.tar.gz llvm-43a87fdc795646eec1df55b7792797008cc6520b.tar.bz2 |
[X86, AVX] instcombine vperm2 intrinsics with zero inputs into shuffles
This is the IR optimizer follow-on patch for D8563: the x86 backend patch
that converts this kind of shuffle back into a vperm2.
This is also a continuation of the transform that started in D8486.
In that patch, Andrea suggested that we could convert vperm2 intrinsics that
use zero masks into a single shuffle.
This is an implementation of that suggestion.
Differential Revision: http://reviews.llvm.org/D8567
llvm-svn: 233110
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
0 files changed, 0 insertions, 0 deletions