Some pass such as Loop Vectorization(-fvectorize) may generate undef elements
constant, which will ball out the combine optimization.
Note: Part undef elements don't prevent the transform of the comparison.
Details
Details
Diff Detail
Diff Detail
Unit Tests
Unit Tests
Event Timeline
llvm/test/Transforms/InstCombine/icmp-bc-vec-inseltpoison.ll | ||
---|---|---|
129 | Verify the case when all elements are undefined. Not sure if I've missed some detail but when I run this test using an upstream pull from this morning I achieve the same output you're matching against here without needing this patch? |
Verify the case when all elements are undefined.
Not sure if I've missed some detail but when I run this test using an upstream pull from this morning I achieve the same output you're matching against here without needing this patch?