summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2016-06-24 06:30:22 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2016-06-24 06:30:22 +0000
commitc581611e11776e50705a4afc4013cbfc5beba4fe (patch)
tree0390ef4f3eb02c72cf00975d96457fb51625aa4b /llvm/test
parent43e92fe306ac1fa4fb36062a458a18a9aed23855 (diff)
downloadbcm5719-llvm-c581611e11776e50705a4afc4013cbfc5beba4fe.tar.gz
bcm5719-llvm-c581611e11776e50705a4afc4013cbfc5beba4fe.zip
AMDGPU: Remove disable-irstructurizer subtarget feature
The only real reason to use it is for testing, so replace it with a command line option instead of a potentially function dependent feature. llvm-svn: 273653
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/AMDGPU/predicates.ll2
-rw-r--r--llvm/test/CodeGen/AMDGPU/structurize.ll2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/predicates.ll b/llvm/test/CodeGen/AMDGPU/predicates.ll
index 79dee61cc7c..c1af815c7b1 100644
--- a/llvm/test/CodeGen/AMDGPU/predicates.ll
+++ b/llvm/test/CodeGen/AMDGPU/predicates.ll
@@ -1,4 +1,4 @@
-; RUN: llc -spec-exec-max-speculation-cost=0 -march=r600 -mattr=disable-irstructurizer -mcpu=redwood < %s | FileCheck %s
+; RUN: llc -spec-exec-max-speculation-cost=0 -march=r600 -r600-ir-structurize=0 -mcpu=redwood < %s | FileCheck %s
; These tests make sure the compiler is optimizing branches using predicates
; when it is legal to do so.
diff --git a/llvm/test/CodeGen/AMDGPU/structurize.ll b/llvm/test/CodeGen/AMDGPU/structurize.ll
index 02e592e9a55..174e64e2cf8 100644
--- a/llvm/test/CodeGen/AMDGPU/structurize.ll
+++ b/llvm/test/CodeGen/AMDGPU/structurize.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=r600 -mcpu=redwood -mattr=disable-irstructurizer | FileCheck %s
+; RUN: llc < %s -march=r600 -mcpu=redwood -r600-ir-structurize=0 | FileCheck %s
; Test case for a crash in the AMDILCFGStructurizer from a CFG like this:
;
; entry
OpenPOWER on IntegriCloud