[all-commits] [llvm/llvm-project] afa192: [InstCombine] add narrowing transform for low-mask...
Sanjay Patel via All-commits
all-commits at lists.llvm.org
Thu Jun 9 14:01:41 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: afa192cfb6049a15c5542d132d500b910b802c74
https://github.com/llvm/llvm-project/commit/afa192cfb6049a15c5542d132d500b910b802c74
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2022-06-09 (Thu, 09 Jun 2022)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
M llvm/test/Transforms/InstCombine/and.ll
Log Message:
-----------
[InstCombine] add narrowing transform for low-masked binop with zext operand
https://alive2.llvm.org/ce/z/hRy3rE
As shown in D123408, we can produce this pattern when moving
cast around, and we already have a related fold for a binop
with a constant operand.
More information about the All-commits
mailing list