DAGCombiner: Relax alignment restriction when changing load type
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 22 Apr 2016 20:21:36 +0000 (20:21 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 22 Apr 2016 20:21:36 +0000 (20:21 +0000)
commit629d12de70959f49f0b8f78eb9e6e217103a24c7
treeb4b1bfc0306ed7cbc5a790a87418dc1e473f3d7e
parent66ac1d61526268d1f81db8ed1d5caccfed2452ec
DAGCombiner: Relax alignment restriction when changing load type

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

llvm-svn: 267209
llvm/include/llvm/Target/TargetLowering.h
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/test/CodeGen/AMDGPU/reduce-load-width-alignment.ll [new file with mode: 0644]
llvm/test/CodeGen/X86/avx512-mask-op.ll
llvm/test/CodeGen/X86/masked_gather_scatter.ll
llvm/test/CodeGen/X86/merge-consecutive-loads-512.ll