[PATCH] D63517: [x86] avoid vector load narrowing with extracted store uses (PR42305)

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 19 10:39:46 PDT 2019


RKSimon accepted this revision.
RKSimon added a comment.
This revision is now accepted and ready to land.

LGTM - cheers



================
Comment at: llvm/test/CodeGen/X86/sandybridge-loads.ll:44
   ret void
 }
 
----------------
Not (very) related - but do we need a variant of this with that has an unaligned load:
```
  %v0 = load <8 x float>, <8 x float>* %a, align 32 ; <--- aligned
  %v1 = load <8 x float>, <8 x float>* %b, align 16 ; <--- unaligned
  store <8 x float> %v0, <8 x float>* %b, align 32 ; <--- aligned
  store <8 x float> %v1, <8 x float>* %a, align 16 ; <--- unaligned
  ret void
```


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63517/new/

https://reviews.llvm.org/D63517





More information about the llvm-commits mailing list