[llvm] Fixed test case error which caused the default cpu is changed from generic to ppc64 for triple powerpc64 (PR #114828)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 4 08:34:08 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-backend-powerpc
Author: zhijian lin (diggerlin)
<details>
<summary>Changes</summary>
[Summary]
Fixed test case error in the https://lab.llvm.org/buildbot/#/builders/33/builds/5801 which
caused by the commit https://github.com/llvm/llvm-project/pull/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
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) {
``````````
</details>
https://github.com/llvm/llvm-project/pull/114828
More information about the llvm-commits
mailing list