[llvm] [InstCombine] Simplify zext(sub(0, trunc(x))) -> and(sub(0, x), mask) (Fixes #165306) (PR #167101)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 8 03:55:02 PST 2025
dtcxzyw wrote:
> In my test case, the types are i6 (Source) and i64 (Destination). It seems shouldChangeType returns false for this
It is a bit strange to me. What is the datalayout you use?
https://github.com/llvm/llvm-project/pull/167101
More information about the llvm-commits
mailing list