[PATCH] D79452: [VectorCombine] scalarize binop of inserted elements into undef
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 6 03:11:50 PDT 2020
RKSimon added a comment.
Random question - what about special case undef handling for the upper elements?
opt -instcombine
define i32 @square() {
%1 = xor i32 undef, undef
ret i32 %1
}
->
define i32 @square() {
ret i32 0
}
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D79452/new/
https://reviews.llvm.org/D79452
More information about the llvm-commits
mailing list