SuccessChanges

Summary

  1. Make the last to clangd unit tests pass on Windows. (details)
  2. [InstCombine] don't assume 'inbounds' for bitcast deref or null pointer (details)
  3. [ConstantFold] fix inconsistent handling of extractelement with undef (details)
  4. Add missing "REQUIRES: shell" to system-include-extractor.test (details)
  5. [X86] Enable use of avx512 saturating truncate instructions in more (details)
Commit 9d80a722d7fb1ff9871677e12611af56cb96cf7a by nicolasweber
Make the last to clangd unit tests pass on Windows.
(Some lit tests still fail.)
See FIXME in diff for details.
Part of PR43592.
llvm-svn: 374727
The file was modifiedclang-tools-extra/clangd/unittests/DiagnosticsTests.cpp
Commit f90728c3227d86794819e945ab79f46a6933f95a by spatel
[InstCombine] don't assume 'inbounds' for bitcast deref or null pointer
in non-default address space
Follow-up to D68244 to account for a corner case discussed in:
https://bugs.llvm.org/show_bug.cgi?id=43501
Add one more restriction: if the pointer is deref-or-null and in a
non-default
(non-zero) address space, we can't assume inbounds.
Differential Revision: https://reviews.llvm.org/D68706
llvm-svn: 374728
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
The file was modifiedllvm/test/Transforms/InstCombine/load-bitcast-vec.ll
Commit b32e4664a7156830aa6a5c97d9074269574b1f98 by spatel
[ConstantFold] fix inconsistent handling of extractelement with undef
index (PR42689)
Any constant other than zero was already folded to undef if the index is
undef. https://bugs.llvm.org/show_bug.cgi?id=42689
llvm-svn: 374729
The file was modifiedllvm/lib/IR/ConstantFold.cpp
The file was modifiedllvm/test/Transforms/ConstProp/InsertElement.ll
Commit 5d8870bc76538eaf8f58d6d40b8ed1c9e8c957fc by nicolasweber
Add missing "REQUIRES: shell" to system-include-extractor.test
Part of PR43592.
llvm-svn: 374730
The file was modifiedclang-tools-extra/clangd/test/system-include-extractor.test
Commit 25eb219959f7750e896e9ffab279cd2bc77478b9 by craig.topper
[X86] Enable use of avx512 saturating truncate instructions in more
cases.
This enables use of the saturating truncate instructions when the result
type is less than 128 bits. It also enables the use of saturating
truncate instructions on KNL when the input is less than 512 bits. We
can do this by widening the input and then extracting the result.
llvm-svn: 374731
The file was modifiedllvm/test/CodeGen/X86/avx512-trunc.ll
The file was modifiedllvm/test/CodeGen/X86/vector-trunc-ssat.ll
The file was modifiedllvm/test/CodeGen/X86/vector-trunc-usat.ll
The file was modifiedllvm/test/CodeGen/X86/masked_store_trunc_ssat.ll
The file was modifiedllvm/test/CodeGen/X86/masked_store_trunc_usat.ll
The file was modifiedllvm/test/CodeGen/X86/vector-trunc-packus.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp