[PATCH] D120349: [NFC][PowerPC] Fix the check-cpu.ll test case.

Stefan Pintilie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 23 12:09:43 PST 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGb3e63ee2e5bd: [NFC][PowerPC] Fix the check-cpu.ll test case. (authored by stefanp).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120349/new/

https://reviews.llvm.org/D120349

Files:
  llvm/test/CodeGen/PowerPC/check-cpu.ll


Index: llvm/test/CodeGen/PowerPC/check-cpu.ll
===================================================================
--- llvm/test/CodeGen/PowerPC/check-cpu.ll
+++ llvm/test/CodeGen/PowerPC/check-cpu.ll
@@ -1,14 +1,19 @@
 ; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu \
-; RUN:     -mcpu=future < %s | FileCheck %s
+; RUN:     -mcpu=future < %s 2>&1 | FileCheck %s
 ; RUN: llc -verify-machineinstrs -mtriple=powerpc64-unknown-linux-gnu \
-; RUN:     -mcpu=future < %s | FileCheck %s
+; RUN:     -mcpu=future < %s 2>&1 | FileCheck %s
 ; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu \
-; RUN:     -mcpu=power10 < %s | FileCheck %s
+; RUN:     -mcpu=pwr10 < %s 2>&1 | FileCheck %s
 ; RUN: llc -verify-machineinstrs -mtriple=powerpc64-unknown-linux-gnu \
-; RUN:     -mcpu=pwr10 < %s | FileCheck %s
+; RUN:     -mcpu=pwr10 < %s 2>&1 | FileCheck %s
+; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu \
+; RUN:     -mcpu=pwr9 < %s 2>&1 | FileCheck %s
+; RUN: llc -verify-machineinstrs -mtriple=powerpc64-unknown-linux-gnu \
+; RUN:     -mcpu=pwr9 < %s 2>&1 | FileCheck %s
+
 
 
-; Test -mcpu=[pwr10|future] is recognized on PowerPC.
+; Test -mcpu=[pwr9|pwr10|future] is recognized on PowerPC.
 
 ; CHECK-NOT: is not a recognized processor for this target
 ; CHECK:     .text


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120349.410905.patch
Type: text/x-patch
Size: 1339 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220223/0bbcb38e/attachment.bin>


More information about the llvm-commits mailing list