Skip to content

Fixed test case error which caused the default cpu is changed from generic to ppc64 for triple powerpc64 #114828

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

diggerlin
Copy link
Contributor

[Summary]
Fixed test case error in the https://lab.llvm.org/buildbot/#/builders/33/builds/5801 which
caused by the commit #113943

@llvmbot
Copy link
Member

llvmbot commented Nov 4, 2024

@llvm/pr-subscribers-backend-powerpc

Author: zhijian lin (diggerlin)

Changes

[Summary]
Fixed test case error in the https://lab.llvm.org/buildbot/#/builders/33/builds/5801 which
caused by the commit #113943


Full diff: https://github.com/llvm/llvm-project/pull/114828.diff

3 Files Affected:

  • (modified) llvm/test/CodeGen/PowerPC/stack-guard-global.ll (+1-1)
  • (modified) llvm/test/CodeGen/PowerPC/stack-guard-tls.ll (+1-1)
  • (modified) llvm/test/CodeGen/PowerPC/uaddo-64.ll (+1-1)
diff --git a/llvm/test/CodeGen/PowerPC/stack-guard-global.ll b/llvm/test/CodeGen/PowerPC/stack-guard-global.ll
index 022a62a4b0918d..a8d97c99522615 100644
--- a/llvm/test/CodeGen/PowerPC/stack-guard-global.ll
+++ b/llvm/test/CodeGen/PowerPC/stack-guard-global.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
-; RUN: llc -mtriple=powerpc64 -verify-machineinstrs < %s \
+; RUN: llc -mcpu=ppc -mtriple=powerpc64 -verify-machineinstrs < %s \
 ; RUN:     | FileCheck %s --check-prefixes=BE64
 ; RUN: llc -mtriple=powerpc64le -verify-machineinstrs < %s \
 ; RUN:     | FileCheck %s --check-prefixes=LE64
diff --git a/llvm/test/CodeGen/PowerPC/stack-guard-tls.ll b/llvm/test/CodeGen/PowerPC/stack-guard-tls.ll
index de0becc037309f..89c1fdbf56c6f6 100644
--- a/llvm/test/CodeGen/PowerPC/stack-guard-tls.ll
+++ b/llvm/test/CodeGen/PowerPC/stack-guard-tls.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
-; RUN: llc -mtriple=powerpc64 -verify-machineinstrs < %s \
+; RUN: llc -mcpu=ppc -mtriple=powerpc64 -verify-machineinstrs < %s \
 ; RUN:     | FileCheck %s --check-prefixes=BE64
 ; RUN: llc -mtriple=powerpc64le -verify-machineinstrs < %s \
 ; RUN:     | FileCheck %s --check-prefixes=LE64
diff --git a/llvm/test/CodeGen/PowerPC/uaddo-64.ll b/llvm/test/CodeGen/PowerPC/uaddo-64.ll
index 736b54e23d2530..3c7ab2c2bab795 100644
--- a/llvm/test/CodeGen/PowerPC/uaddo-64.ll
+++ b/llvm/test/CodeGen/PowerPC/uaddo-64.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
-; RUN: llc < %s -mtriple=powerpc64-unknown-linux-gnu | FileCheck %s
+; RUN: llc < %s -mcpu=ppc -mtriple=powerpc64-unknown-linux-gnu | FileCheck %s
 ; RUN: llc < %s -mtriple=powerpc64-ibm-aix-xcoff | FileCheck %s
 
 define noundef i64 @add(i64 noundef %a, i64 noundef %b, ptr nocapture noundef writeonly %ovf) {

@diggerlin diggerlin merged commit 01463a2 into llvm:main Nov 4, 2024
6 of 7 checks passed
PhilippRados pushed a commit to PhilippRados/llvm-project that referenced this pull request Nov 6, 2024
…neric to ppc64 for triple powerpc64 (llvm#114828)

[Summary]
Fixed test case error in the
https://lab.llvm.org/buildbot/#/builders/33/builds/5801 which
  caused by the commit llvm#113943
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants