[all-commits] [llvm/llvm-project] 00e3ae: [CodeGen] ExpandReductions - add reduce_and/or(<X ...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Tue Apr 4 03:19:52 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 00e3ae447150b839567906c9d2c527d7d32db46c
https://github.com/llvm/llvm-project/commit/00e3ae447150b839567906c9d2c527d7d32db46c
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2023-04-04 (Tue, 04 Apr 2023)
Changed paths:
M llvm/lib/CodeGen/ExpandReductions.cpp
M llvm/test/CodeGen/X86/pr53419.ll
M llvm/test/CodeGen/X86/pr61923.ll
M llvm/test/CodeGen/X86/vector-reduce-and-bool.ll
M llvm/test/CodeGen/X86/vector-reduce-or-bool.ll
Log Message:
-----------
[CodeGen] ExpandReductions - add reduce_and/or(<X x i1> V) -> icmp(iX bitcast(<X x i1> V)) canonicalization
This already exists in InstCombine but was missing from the late stage ExpandReductions pass
Fixes #53419
Fixes #61923
Differential Revision: https://reviews.llvm.org/D147452
More information about the All-commits
mailing list