DAGCombiner: Relax alignment restriction when changing store type
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 22 Apr 2016 21:01:41 +0000 (21:01 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 22 Apr 2016 21:01:41 +0000 (21:01 +0000)
commit3b748d76f60a6dc7266058f0130b4181903e0e34
treee3762338237f1735e143256bda16796514c2ad68
parentf8f051cbf5cb40c04184068fe6bdbbb88eca8f73
DAGCombiner: Relax alignment restriction when changing store type

If the target allows the alignment, this should be OK.

llvm-svn: 267217
llvm/include/llvm/Target/TargetLowering.h
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/test/CodeGen/AMDGPU/reduce-store-width-alignment.ll [new file with mode: 0644]
llvm/test/CodeGen/X86/avx-vextractf128.ll