diff options
author | Sanjay Patel <spatel@rotateright.com> | 2017-07-02 14:34:50 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2017-07-02 14:34:50 +0000 |
commit | c3d5cf0bb71f4278ae2e489cefbbe031522e97b3 (patch) | |
tree | b05dd944d10f6be9cbf83d267b9b04509d543953 /llvm/unittests/Support/MathExtrasTest.cpp | |
parent | 91a00b974d13d0ced39ded2ca29fe03ef16652f7 (diff) | |
download | llvm-c3d5cf0bb71f4278ae2e489cefbbe031522e97b3.zip llvm-c3d5cf0bb71f4278ae2e489cefbbe031522e97b3.tar.gz llvm-c3d5cf0bb71f4278ae2e489cefbbe031522e97b3.tar.bz2 |
[InstCombine] look through bswap/bitreverse for equality comparisons
I noticed this missed bswap optimization in the CGP memcmp() expansion,
and then I saw that we don't have the fold in InstCombine.
Differential Revision: https://reviews.llvm.org/D34763
llvm-svn: 306980
Diffstat (limited to 'llvm/unittests/Support/MathExtrasTest.cpp')
0 files changed, 0 insertions, 0 deletions