Converts concat_vectors((trunc (lshr)), (trunc (lshr))) to UZP2 when the shift amount is half the width of the vector element.
Details
Diff Detail
Event Timeline
llvm/test/CodeGen/AArch64/uzp2.ll | ||
---|---|---|
5 | Just a nit about the tests: rather than adding a new file, would it make sense to keep all uzp2 tests together in existing file arm64-uzp.ll? |
llvm/test/CodeGen/AArch64/uzp2.ll | ||
---|---|---|
5 | Can do, but that file doesn't seem to test combination patterns. Maybe I could rename this file into something that indicates combine? |
llvm/test/CodeGen/AArch64/uzp2.ll | ||
---|---|---|
5 | Yeah, that would also work, e.g. arm64-uzp-combine.ll or something along those lines would group this together. LGTM |
Hello.
Is this regression expected: https://godbolt.org/z/c7Kbor6Th ?
This affected halide CI https://buildbot.halide-lang.org/master/#/builders/173/builds/500/steps/12/logs/correctness_simd_op_check
No, bad example, there it isn't obvious that there is a regression.
How about this one: https://godbolt.org/z/EeqjGW58x <- clear increase in instruction count.
Just a nit about the tests: rather than adding a new file, would it make sense to keep all uzp2 tests together in existing file arm64-uzp.ll?