aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Basic/FileManagerTest.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-11-19 04:33:20 +0000
committerCraig Topper <craig.topper@intel.com>2018-11-19 04:33:20 +0000
commit3616891046e7f13a758e53dcc6fa73a7c3232b35 (patch)
tree8126bffd4f9009478ef780060293bc37d774e892 /clang/unittests/Basic/FileManagerTest.cpp
parent053f1eea96eaa8a0a4bb034274fa485655323d32 (diff)
downloadllvm-3616891046e7f13a758e53dcc6fa73a7c3232b35.zip
llvm-3616891046e7f13a758e53dcc6fa73a7c3232b35.tar.gz
llvm-3616891046e7f13a758e53dcc6fa73a7c3232b35.tar.bz2
[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 'clang/unittests/Basic/FileManagerTest.cpp')
0 files changed, 0 insertions, 0 deletions