This is an archive of the discontinued LLVM Phabricator instance.

[X86][AVX] EltsFromConsecutiveLoads - Add BROADCAST lowering support
ClosedPublic

Authored by RKSimon on Feb 11 2019, 7:29 AM.

Details

Summary

This patch adds scalar/subvector BROADCAST handling to EltsFromConsecutiveLoads.

It mainly shows codegen changes to 32-bit code which failed to handle i64 loads, although 64-bit code is also using this new path to more efficiently combine to a broadcast load.

@craig.topper I was trying to see whether I could get AVX512 i64 broadcast folds to work for 32-bit targets but didn't have much success - any ideas? I guess i686 is not that high priority....

Diff Detail

Repository
rL LLVM