]> granicus.if.org Git - llvm/commit
AMDGPU/GlobalISel: Only make f16 constants legal on f16 targets
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 12 Feb 2019 14:54:55 +0000 (14:54 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 12 Feb 2019 14:54:55 +0000 (14:54 +0000)
commitbb8d9165a419a4281d34391148296a069fab5fe1
treea43f8d5c009b2bfca98b334c3fd222efd7ac4615
parentbfe35f840da65d23ecb2fce2cc93143013d169f8
AMDGPU/GlobalISel: Only make f16 constants legal on f16 targets

We could deal with it, but there's no real point.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@353845 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
test/CodeGen/AMDGPU/GlobalISel/legalize-fconstant.mir