From 6fcf906bb0df6d19c17d536262fa4c2f70b4ed1d Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Thu, 11 Jun 2015 14:51:46 +0000 Subject: [PATCH] R600/SI: Add -mcpu=bonaire to a test that uses flat address space Flat instructions don't exist on SI, but there is a bug in the backend that allows them to be selected. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239533 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/R600/cgp-addressing-modes.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/CodeGen/R600/cgp-addressing-modes.ll b/test/CodeGen/R600/cgp-addressing-modes.ll index 3d36bd19937..77f7bd01b7f 100644 --- a/test/CodeGen/R600/cgp-addressing-modes.ll +++ b/test/CodeGen/R600/cgp-addressing-modes.ll @@ -1,5 +1,5 @@ ; RUN: opt -S -codegenprepare -mtriple=amdgcn-unknown-unknown < %s | FileCheck -check-prefix=OPT %s -; RUN: llc -march=amdgcn -mattr=-promote-alloca < %s | FileCheck -check-prefix=GCN %s +; RUN: llc -march=amdgcn -mcpu=bonaire -mattr=-promote-alloca < %s | FileCheck -check-prefix=GCN %s declare i32 @llvm.r600.read.tidig.x() #0