diff options
author | Sanjay Patel <spatel@rotateright.com> | 2016-02-24 17:00:34 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2016-02-24 17:00:34 +0000 |
commit | dbbaca0e1b5d9a6e36ffdf523c946f02fd6c2357 (patch) | |
tree | 741a19906b698d01bdee771f340c914e79e556ea /clang/lib/CodeGen/CGException.cpp | |
parent | b508f520e7711873e002d0679af2988c6e62f431 (diff) | |
download | bcm5719-llvm-dbbaca0e1b5d9a6e36ffdf523c946f02fd6c2357.tar.gz bcm5719-llvm-dbbaca0e1b5d9a6e36ffdf523c946f02fd6c2357.zip |
[InstCombine] enable optimization of casted vector xor instructions
This is part of the payoff for the refactoring in:
http://reviews.llvm.org/rL261649
http://reviews.llvm.org/rL261707
In addition to removing a pile of duplicated code, the xor case was
missing the optimization for vector types because it checked
"SrcTy->isIntegerTy()" rather than "SrcTy->isIntOrIntVectorTy()"
like 'and' and 'or' were already doing.
This solves part of:
https://llvm.org/bugs/show_bug.cgi?id=26702
llvm-svn: 261750
Diffstat (limited to 'clang/lib/CodeGen/CGException.cpp')
0 files changed, 0 insertions, 0 deletions