diff options
author | Craig Topper <craig.topper@intel.com> | 2018-11-19 04:33:20 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2018-11-19 04:33:20 +0000 |
commit | 3616891046e7f13a758e53dcc6fa73a7c3232b35 (patch) | |
tree | 8126bffd4f9009478ef780060293bc37d774e892 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | 053f1eea96eaa8a0a4bb034274fa485655323d32 (diff) | |
download | bcm5719-llvm-3616891046e7f13a758e53dcc6fa73a7c3232b35.tar.gz bcm5719-llvm-3616891046e7f13a758e53dcc6fa73a7c3232b35.zip |
[X86] Use compare with 0 to fill an element with sign bits when sign extending to v2i64 pre-sse4.1
Previously we used an arithmetic shift right by 31, but that requires a copy to preserve the input. So we might as well materialize a zero and compare to it since the comparison will overwrite the register that contains the zeros. This should be one byte shorter.
llvm-svn: 347181
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions