SuccessChanges

Summary

  1. [TargetLowering][X86] Teach SimplifyDemandedVectorElts to replace the base vector of INSERT_SUBVECTOR with undef if none of the elements are demanded even if the node has other users. Summary: The SimplifyDemandedVectorElts function can replace with undef when no elements are demanded, but due to how it interacts with TargetLoweringOpts, it can only do this when the node has no other users. Remove a now unneeded DAG combine from the X86 backend. Reviewers: RKSimon, spatel Reviewed By: RKSimon Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D65713
  2. Regenerate test for an upcoming patch. I managed to use the update_llc_test_checks script for this, but had to set -asm-verbose=true and then manually tweak the result (PR42882)
  3. [UpdateTestChecks] Add end_function directive to regex matcher for wasm32 function body
Revision 367788 by ctopper:
[TargetLowering][X86] Teach SimplifyDemandedVectorElts to replace the base vector of INSERT_SUBVECTOR with undef if none of the elements are demanded even if the node has other users.

Summary:
The SimplifyDemandedVectorElts function can replace with undef
when no elements are demanded, but due to how it interacts with
TargetLoweringOpts, it can only do this when the node has
no other users.

Remove a now unneeded DAG combine from the X86 backend.

Reviewers: RKSimon, spatel

Reviewed By: RKSimon

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D65713
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cppllvm.src/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modified/llvm/trunk/lib/Target/X86/X86ISelLowering.cppllvm.src/lib/Target/X86/X86ISelLowering.cpp
The file was modified/llvm/trunk/test/CodeGen/X86/masked_expandload.llllvm.src/test/CodeGen/X86/masked_expandload.ll
The file was modified/llvm/trunk/test/CodeGen/X86/x86-interleaved-access.llllvm.src/test/CodeGen/X86/x86-interleaved-access.ll
Revision 367787 by rksimon:
Regenerate test for an upcoming patch.

I managed to use the update_llc_test_checks script for this, but had to set -asm-verbose=true and then manually tweak the result (PR42882)
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/CodeGen/WebAssembly/simd-extended-extract.llllvm.src/test/CodeGen/WebAssembly/simd-extended-extract.ll
Revision 367786 by rksimon:
[UpdateTestChecks] Add end_function directive to regex matcher for wasm32 function body
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/utils/UpdateTestChecks/asm.pyllvm.src/utils/UpdateTestChecks/asm.py