diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2021-01-19 11:03:45 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2021-01-19 11:04:13 +0000 |
commit | 5626adcd6bbaadd12fe5bf15cd2d39ece2e5c406 (patch) | |
tree | 889c54e44aa0df64c0ba5a66a8e96ba4dcc8c531 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 58bdfcfac048563e0dbcecc7c75e4e7897c8da18 (diff) | |
download | llvm-5626adcd6bbaadd12fe5bf15cd2d39ece2e5c406.zip llvm-5626adcd6bbaadd12fe5bf15cd2d39ece2e5c406.tar.gz llvm-5626adcd6bbaadd12fe5bf15cd2d39ece2e5c406.tar.bz2 |
[X86][SSE] combineVectorSignBitsTruncation - fold trunc(srl(x,c)) -> packss(sra(x,c))
If a srl doesn't introduce any sign bits into the truncated result, then replace with a sra to let us use a PACKSS truncation - fixes a regression noticed in D56387 on pre-SSE41 targets that don't have PACKUSDW.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions