[all-commits] [llvm/llvm-project] 4e3ba5: [X86] Add tests showing failure to fold MOVMSK(CMP...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Sun Jan 30 07:45:08 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4e3ba526bf48c19a602499acd1ebc4e6535d8f01
https://github.com/llvm/llvm-project/commit/4e3ba526bf48c19a602499acd1ebc4e6535d8f01
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2022-01-30 (Sun, 30 Jan 2022)
Changed paths:
M llvm/test/CodeGen/X86/combine-movmsk.ll
Log Message:
-----------
[X86] Add tests showing failure to fold MOVMSK(CMPEQ(AND(X,C1),0)) -> MOVMSK(NOT(SHL(X,C2)))
This would allow pow2 mask tests to avoid an unnecessary constant load.
Noticed while investigating how to extend MatchVectorAllZeroTest to support more allof/anyof patterns.
More information about the All-commits
mailing list