DAG: Legalize truncstores to illegal int types
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 28 Nov 2017 17:11:30 +0000 (17:11 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 28 Nov 2017 17:11:30 +0000 (17:11 +0000)
commite123aba94ead1673e8672e0fdd7ef9a75d1b205c
tree089efacac012cc2295f85b4fb32126c5ce88bc94
parentece5bc358a243fcbc74f92883f37110980b0ac04
DAG: Legalize truncstores to illegal int types

Truncate to a legal int type, and produce a new
truncstore from a narrower type.

llvm-svn: 319185
llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
llvm/test/CodeGen/AMDGPU/store-weird-sizes.ll [new file with mode: 0644]