[all-commits] [llvm/llvm-project] 070877: [DAG] MaskedVectorIsZero - don't bother with (-1)....
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Sun Jul 24 05:12:51 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0708771cce056c3bf9b89793ebb5aa5305b194b5
https://github.com/llvm/llvm-project/commit/0708771cce056c3bf9b89793ebb5aa5305b194b5
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2022-07-24 (Sun, 24 Jul 2022)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[DAG] MaskedVectorIsZero - don't bother with (-1).isSubsetOf mask check. NFC.
Just use KnownBits::isZero() to ensure all the bits are known zero.
More information about the All-commits
mailing list