[PATCH] R600: Handle -mcpu option

Dmitri Gribenko gribozavr at gmail.com
Thu Mar 14 08:20:03 PDT 2013


On Thu, Mar 14, 2013 at 5:10 PM, Tom Stellard <tom at stellard.net> wrote:
> Here is an updated patch that uses the -### option for tests.

+// RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=r600 %s -o
- 2>&1  FileCheck --check-prefix=R600-CHECK %s

Seems like you have the pipe symbol missing before 'FileCheck'.

With that, patch LGTM from the mechanical point of view, but I know
nothing about R600 CPU kinds, so I can not review the actual mapping.

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/



More information about the cfe-commits mailing list