For functionally similar LLVM-IR between two cases, it was noticed that X86 codegen does not generate unpck{h|l}ps instructions (for x86-64 cpu target) in one of them -
Case 1 : Scalarized stores with no extracts for GEP index (https://godbolt.org/z/qcqr8f461)
Case 2 : Scalarized stores with extracts for GEP index (https://godbolt.org/z/58n95Tv5q) - no unpck{h|l}ps instructions
I would like to confirm if there are any issues with the LLVM-IR for Case 2 that prohibits X86 codegen from generating optimal ASM like Case 1.