This intrinsic uses bit 0 and bit 4 of an immediate argument to determine which bits of its inputs to read. This patch uses this information to simplify the demanded elements of the input vectors.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Transforms/InstCombine/InstCombineCalls.cpp | ||
---|---|---|
2197 ↗ | (On Diff #85239) | Add support for detecting all undef with UndefElts? |
Comment Actions
Should we be optimizing to undef or zero? I don't have an answer but I just got stung for having written muldq/muludq optimizing to undef as generic multiplies become zero. Does clmul count as a multiply?