[TLI] Add IsZero parameter to storeOfVectorConstantIsCheap [nfc]
authorPhilip Reames <preames@rivosinc.com>
Wed, 17 May 2023 14:35:47 +0000 (07:35 -0700)
committerPhilip Reames <listmail@philipreames.com>
Wed, 17 May 2023 16:19:01 +0000 (09:19 -0700)
commit0dc0c27989d3c26e677f3975d4911ffe72bdd8c1
treec65370eed725fa88a5b4fec41ccd69066abcf8bc
parentf9f1f9c2a533d5caa3ddf813ebbd16fe3a13fce7
[TLI] Add IsZero parameter to storeOfVectorConstantIsCheap [nfc]

Make the decision to consider zero constant stores cheap target specific.  Will be used in an upcoming change for RISCV.
llvm/include/llvm/CodeGen/TargetLowering.h
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
llvm/lib/Target/X86/X86ISelLowering.h