]> granicus.if.org Git - llvm/commit
GlobalISel: Combine unmerge of merge with intermediate cast
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 9 Jul 2019 22:19:13 +0000 (22:19 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 9 Jul 2019 22:19:13 +0000 (22:19 +0000)
commit9ebcde18d1ec9c5e9e3b3927f66544bd1be6051e
treed56e132274964e94c927c0cc2306f4efb4828e0f
parent254d54969222db8578800688391ed5464d32ec31
GlobalISel: Combine unmerge of merge with intermediate cast

This eliminates some illegal intermediate vectors when operations are
scalarized.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365566 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
include/llvm/CodeGen/GlobalISel/Utils.h
lib/CodeGen/GlobalISel/Utils.cpp
test/CodeGen/AMDGPU/GlobalISel/artifact-combiner-unmerge-values.mir [new file with mode: 0644]