]> granicus.if.org Git - llvm/commit
AMDGPU/GlobalISel: Make 16-bit constants legal
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 4 Sep 2019 16:19:45 +0000 (16:19 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 4 Sep 2019 16:19:45 +0000 (16:19 +0000)
commitd6d1c465084cad42aaeecda95e2b825b4eeb9cc3
treefd172d87d54864963e6f3b75f56615a25d789efe
parente2d7eae2972943fb0be2aa2e4319513c558695b2
AMDGPU/GlobalISel: Make 16-bit constants legal

This is mostly for the benefit of patterns which use 16-bit constants.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@370921 91177308-0d34-0410-b5e6-96231b3b80d8
21 files changed:
lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
test/CodeGen/AMDGPU/GlobalISel/artifact-combiner-sext.mir
test/CodeGen/AMDGPU/GlobalISel/artifact-combiner-zext.mir
test/CodeGen/AMDGPU/GlobalISel/legalize-ashr.mir
test/CodeGen/AMDGPU/GlobalISel/legalize-constant.mir
test/CodeGen/AMDGPU/GlobalISel/legalize-extract-vector-elt.mir
test/CodeGen/AMDGPU/GlobalISel/legalize-extract.mir
test/CodeGen/AMDGPU/GlobalISel/legalize-fcmp.mir
test/CodeGen/AMDGPU/GlobalISel/legalize-fconstant.mir
test/CodeGen/AMDGPU/GlobalISel/legalize-fcopysign.mir
test/CodeGen/AMDGPU/GlobalISel/legalize-icmp.mir
test/CodeGen/AMDGPU/GlobalISel/legalize-implicit-def.mir
test/CodeGen/AMDGPU/GlobalISel/legalize-lshr.mir
test/CodeGen/AMDGPU/GlobalISel/legalize-merge-values.mir
test/CodeGen/AMDGPU/GlobalISel/legalize-phi.mir
test/CodeGen/AMDGPU/GlobalISel/legalize-select.mir
test/CodeGen/AMDGPU/GlobalISel/legalize-shl.mir
test/CodeGen/AMDGPU/GlobalISel/legalize-smax.mir
test/CodeGen/AMDGPU/GlobalISel/legalize-smin.mir
test/CodeGen/AMDGPU/GlobalISel/legalize-umax.mir
test/CodeGen/AMDGPU/GlobalISel/legalize-umin.mir