[PATCH] D132206: [DAGCombiner] Fold vecreduce_xor/or/and(splat_vector(val)) to constant
    Dave Green via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Aug 19 00:10:30 PDT 2022
    
    
  
dmgreen added a comment.
XOR will be 0 or val depending on if there are an even number of vector elements.
Can you add some tests for both cases?
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132206/new/
https://reviews.llvm.org/D132206
    
    
More information about the llvm-commits
mailing list