[all-commits] [llvm/llvm-project] 8310c9: [X86][AVX] Call SimplifyDemandedBits on MaskedLoad...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Sun May 24 01:51:56 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 8310c9b74102a5a66fae18596baf9fcc5ed63f61
https://github.com/llvm/llvm-project/commit/8310c9b74102a5a66fae18596baf9fcc5ed63f61
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2020-05-24 (Sun, 24 May 2020)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/masked_load.ll
M llvm/test/CodeGen/X86/pr45563-2.ll
Log Message:
-----------
[X86][AVX] Call SimplifyDemandedBits on MaskedLoadSDNode with non-boolean masks
On X86 (AVX1/AVX2), non-boolean masked loads only demand the sign bit of the mask, we already do the equivalent for masked stores.
Annoyingly I can't easily handle this inside TargetLowering::SimplifyDemandedBits as this is an x86 specific case for a generic node.
Differential Revision: https://reviews.llvm.org/D80478
More information about the All-commits
mailing list