diff options
author | Craig Topper <craig.topper@gmail.com> | 2016-04-24 04:38:32 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2016-04-24 04:38:32 +0000 |
commit | 36c133159a1cdce2dccd71ba088a02a0c12e4091 (patch) | |
tree | 7937752ca19021eeb1eb8c8e12de18be7749556f /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | beb77bd89fbb3661903ca5dbc39fee7454227536 (diff) | |
download | llvm-36c133159a1cdce2dccd71ba088a02a0c12e4091.zip llvm-36c133159a1cdce2dccd71ba088a02a0c12e4091.tar.gz llvm-36c133159a1cdce2dccd71ba088a02a0c12e4091.tar.bz2 |
[CodeGen] Teach DAG combine to fold select_cc seteq X, 0, sizeof(X), ctlz_zero_undef(X) -> ctlz(X). InstCombine already does this for IR and X86 pattern matches this during isel.
A follow up commit will remove the X86 patterns to allow this to be tested.
llvm-svn: 267325
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions