R600/SI: Add -mcpu=bonaire to a test that uses flat address space
authorTom Stellard <thomas.stellard@amd.com>
Thu, 11 Jun 2015 14:51:46 +0000 (14:51 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Thu, 11 Jun 2015 14:51:46 +0000 (14:51 +0000)
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

index 3d36bd19937e4154a4888e01569745ac9bd7287d..77f7bd01b7f0a0d6ccdff02fd7ea33727a0f7537 100644 (file)
@@ -1,5 +1,5 @@
 ; RUN: opt -S -codegenprepare -mtriple=amdgcn-unknown-unknown < %s | FileCheck -check-prefix=OPT %s
 ; 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
 
 
 declare i32 @llvm.r600.read.tidig.x() #0