[X86] SimplifyDemandedVectorEltsForTargetNode - add X86ISD::VZEXT_LOAD handling.
commit076dbc02724681c7d3664959d5ae742099b7edb6
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 4 Jan 2024 16:54:38 +0000 (4 16:54 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 4 Jan 2024 17:17:07 +0000 (4 17:17 +0000)
treede4858bbddd91e50a8e85bcdf968f3198422c9e8
parent5cd3cf107286d56cf162346d1bbbbfcc20439320
[X86] SimplifyDemandedVectorEltsForTargetNode - add X86ISD::VZEXT_LOAD handling.

Simplify to a scalar_to_vector(load()) if we don't demand any of the upper vector elements.
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/buildvec-insertvec.ll
llvm/test/CodeGen/X86/fminimum-fmaximum.ll