[llvm] r351859 - AMDGPU/GlobalISel: Remove vectors from legal constant types
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 22 11:04:51 PST 2019
Author: arsenm
Date: Tue Jan 22 11:04:51 2019
New Revision: 351859
URL: http://llvm.org/viewvc/llvm-project?rev=351859&view=rev
Log:
AMDGPU/GlobalISel: Remove vectors from legal constant types
Modified:
llvm/trunk/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
Modified: llvm/trunk/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp?rev=351859&r1=351858&r2=351859&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp (original)
+++ llvm/trunk/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp Tue Jan 22 11:04:51 2019
@@ -130,7 +130,7 @@ AMDGPULegalizerInfo::AMDGPULegalizerInfo
// between these two scenarios.
// FIXME: Pointer types
getActionDefinitionsBuilder(G_CONSTANT)
- .legalFor({S1, S32, S64, V2S32, V2S16})
+ .legalFor({S1, S32, S64})
.clampScalar(0, S32, S64)
.widenScalarToNextPow2(0);
More information about the llvm-commits
mailing list