[all-commits] [llvm/llvm-project] 0df15e: [DAG] Fold i1/vXi1 ssubsat/usubsat(x, y) -> and(x, ~y)
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Sat Feb 13 05:21:50 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0df15e5eff8dec82a619c1d27985356a8aa4037e
https://github.com/llvm/llvm-project/commit/0df15e5eff8dec82a619c1d27985356a8aa4037e
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2021-02-13 (Sat, 13 Feb 2021)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/AArch64/ssub_sat_vec.ll
M llvm/test/CodeGen/AArch64/usub_sat_vec.ll
M llvm/test/CodeGen/X86/ssub_sat_vec.ll
M llvm/test/CodeGen/X86/usub_sat_vec.ll
Log Message:
-----------
[DAG] Fold i1/vXi1 ssubsat/usubsat(x,y) -> and(x,~y)
Alive2: https://alive2.llvm.org/ce/z/4nkNGh
More information about the All-commits
mailing list