[llvm] 01463a2 - Fixed test case error which caused the default cpu is changed from generic to ppc64 for triple powerpc64 (#114828)

via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 4 08:37:39 PST 2024


Author: zhijian lin
Date: 2024-11-04T11:37:35-05:00
New Revision: 01463a269eb359219886f5b5b81d7f262868151f

URL: https://github.com/llvm/llvm-project/commit/01463a269eb359219886f5b5b81d7f262868151f
DIFF: https://github.com/llvm/llvm-project/commit/01463a269eb359219886f5b5b81d7f262868151f.diff

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

[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

Added: 
    

Modified: 
    llvm/test/CodeGen/PowerPC/stack-guard-global.ll
    llvm/test/CodeGen/PowerPC/stack-guard-tls.ll
    llvm/test/CodeGen/PowerPC/uaddo-64.ll

Removed: 
    


################################################################################
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) {


        


More information about the llvm-commits mailing list