From b0e32f1ba1742d1d355721ec3f1c2f48842bfa83 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Thu, 4 Aug 2016 07:04:54 +0000 Subject: [PATCH] AMDGPU: Fix a slow test by using basic regalloc This just tests that the register limit isn't exceeded, so the regisetr allocation doesn't need to be great.' The critically slow part is all in greedy RA, so switch to basic. llvm-svn: 277700 --- llvm/test/CodeGen/AMDGPU/large-work-group-registers.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/test/CodeGen/AMDGPU/large-work-group-registers.ll b/llvm/test/CodeGen/AMDGPU/large-work-group-registers.ll index 468633d..4463c19 100644 --- a/llvm/test/CodeGen/AMDGPU/large-work-group-registers.ll +++ b/llvm/test/CodeGen/AMDGPU/large-work-group-registers.ll @@ -1,4 +1,4 @@ -; RUN: llc -march=amdgcn -mcpu=tonga -post-RA-scheduler=0 < %s | FileCheck %s +; RUN: llc -march=amdgcn -mcpu=tonga -regalloc=basic -post-RA-scheduler=0 < %s | FileCheck %s ; CHECK: NumVgprs: 64 define void @main([9 x <16 x i8>] addrspace(2)* byval, [17 x <16 x i8>] addrspace(2)* byval, [17 x <8 x i32>] addrspace(2)* byval, [16 x <8 x i32>] addrspace(2)* byval, [16 x <4 x i32>] addrspace(2)* byval, <3 x i32> inreg, <3 x i32> inreg, <3 x i32>) #0 { -- 2.7.4