[llvm] r306380 - [PowerPC] fix incorrect processor name for -mcpu in a test case

Hiroshi Inoue via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 27 01:35:35 PDT 2017


Author: inouehrs
Date: Tue Jun 27 01:35:35 2017
New Revision: 306380

URL: http://llvm.org/viewvc/llvm-project?rev=306380&view=rev
Log:
[PowerPC] fix incorrect processor name for -mcpu in a test case

to surpress warnings. ppc970 should be 970 (or g5)


Modified:
    llvm/trunk/test/CodeGen/PowerPC/anon_aggr.ll

Modified: llvm/trunk/test/CodeGen/PowerPC/anon_aggr.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/anon_aggr.ll?rev=306380&r1=306379&r2=306380&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/anon_aggr.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/anon_aggr.ll Tue Jun 27 01:35:35 2017
@@ -1,6 +1,6 @@
 ; RUN: llc -verify-machineinstrs -O0 -mcpu=ppc64 -mtriple=powerpc64-unknown-linux-gnu -fast-isel=false < %s | FileCheck %s
 ; RUN: llc -verify-machineinstrs -O0 -mcpu=g4 -mtriple=powerpc-apple-darwin8 < %s | FileCheck -check-prefix=DARWIN32 %s
-; RUN: llc -verify-machineinstrs -O0 -mcpu=ppc970 -mtriple=powerpc64-apple-darwin8 < %s | FileCheck -check-prefix=DARWIN64 %s
+; RUN: llc -verify-machineinstrs -O0 -mcpu=970 -mtriple=powerpc64-apple-darwin8 < %s | FileCheck -check-prefix=DARWIN64 %s
 
 ; Test case for PR 14779: anonymous aggregates are not handled correctly.
 ; Darwin bug report PR 15821 is similar.




More information about the llvm-commits mailing list