[llvm] r239533 - R600/SI: Add -mcpu=bonaire to a test that uses flat address space

Tom Stellard thomas.stellard at amd.com
Thu Jun 11 07:51:47 PDT 2015


Author: tstellar
Date: Thu Jun 11 09:51:46 2015
New Revision: 239533

URL: http://llvm.org/viewvc/llvm-project?rev=239533&view=rev
Log:
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.

Modified:
    llvm/trunk/test/CodeGen/R600/cgp-addressing-modes.ll

Modified: llvm/trunk/test/CodeGen/R600/cgp-addressing-modes.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/R600/cgp-addressing-modes.ll?rev=239533&r1=239532&r2=239533&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/R600/cgp-addressing-modes.ll (original)
+++ llvm/trunk/test/CodeGen/R600/cgp-addressing-modes.ll Thu Jun 11 09:51:46 2015
@@ -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
 





More information about the llvm-commits mailing list