[llvm] b065ec0 - [Inline][X86] Regenerate inline-target-cpu-* tests

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 30 04:08:43 PDT 2024


Author: Simon Pilgrim
Date: 2024-08-30T12:06:24+01:00
New Revision: b065ec0af54988559334314ebbd51dd515d5bdd6

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

LOG: [Inline][X86] Regenerate inline-target-cpu-* tests

Added: 
    

Modified: 
    llvm/test/Transforms/Inline/X86/inline-target-cpu-i686.ll
    llvm/test/Transforms/Inline/X86/inline-target-cpu-x86_64.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/Inline/X86/inline-target-cpu-i686.ll b/llvm/test/Transforms/Inline/X86/inline-target-cpu-i686.ll
index bd05cffcaa8b7f..187278d1c9035a 100644
--- a/llvm/test/Transforms/Inline/X86/inline-target-cpu-i686.ll
+++ b/llvm/test/Transforms/Inline/X86/inline-target-cpu-i686.ll
@@ -1,12 +1,17 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
 ; RUN: opt < %s -mtriple=i686-unknown-unknown -S -passes=inline | FileCheck %s
 
 define i32 @func_target_cpu_nocona() #0 {
+; CHECK-LABEL: @func_target_cpu_nocona(
+; CHECK-NEXT:    ret i32 0
+;
   ret i32 0
 }
 
-; CHECK-LABEL: @target_cpu_prescott_call_target_cpu_nocona(
-; CHECK-NEXT: ret i32 0
 define i32 @target_cpu_prescott_call_target_cpu_nocona() #1 {
+; CHECK-LABEL: @target_cpu_prescott_call_target_cpu_nocona(
+; CHECK-NEXT:    ret i32 0
+;
   %call = call i32 @func_target_cpu_nocona()
   ret i32 %call
 }

diff  --git a/llvm/test/Transforms/Inline/X86/inline-target-cpu-x86_64.ll b/llvm/test/Transforms/Inline/X86/inline-target-cpu-x86_64.ll
index b0a145d54cf593..e6693a637d820d 100644
--- a/llvm/test/Transforms/Inline/X86/inline-target-cpu-x86_64.ll
+++ b/llvm/test/Transforms/Inline/X86/inline-target-cpu-x86_64.ll
@@ -1,37 +1,48 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
 ; RUN: opt < %s -mtriple=x86_64-unknown-unknown -S -passes=inline | FileCheck %s
 
 define i32 @func_target_cpu_base() #0 {
+; CHECK-LABEL: @func_target_cpu_base(
+; CHECK-NEXT:    ret i32 0
+;
   ret i32 0
 }
 
-; CHECK-LABEL: @target_cpu_k8_call_target_cpu_base(
-; CHECK-NEXT: ret i32 0
 define i32 @target_cpu_k8_call_target_cpu_base() #1 {
+; CHECK-LABEL: @target_cpu_k8_call_target_cpu_base(
+; CHECK-NEXT:    ret i32 0
+;
   %call = call i32 @func_target_cpu_base()
   ret i32 %call
 }
 
-; CHECK-LABEL: @target_cpu_target_nehalem_call_target_cpu_base(
-; CHECK-NEXT: ret i32 0
 define i32 @target_cpu_target_nehalem_call_target_cpu_base() #2 {
+; CHECK-LABEL: @target_cpu_target_nehalem_call_target_cpu_base(
+; CHECK-NEXT:    ret i32 0
+;
   %call = call i32 @func_target_cpu_base()
   ret i32 %call
 }
 
-; CHECK-LABEL: @target_cpu_target_goldmont_call_target_cpu_base(
-; CHECK-NEXT: ret i32 0
 define i32 @target_cpu_target_goldmont_call_target_cpu_base() #3 {
+; CHECK-LABEL: @target_cpu_target_goldmont_call_target_cpu_base(
+; CHECK-NEXT:    ret i32 0
+;
   %call = call i32 @func_target_cpu_base()
   ret i32 %call
 }
 
 define i32 @func_target_cpu_nocona() #4 {
+; CHECK-LABEL: @func_target_cpu_nocona(
+; CHECK-NEXT:    ret i32 0
+;
   ret i32 0
 }
 
-; CHECK-LABEL: @target_cpu_target_base_call_target_cpu_nocona(
-; CHECK-NEXT: ret i32 0
 define i32 @target_cpu_target_base_call_target_cpu_nocona() #0 {
+; CHECK-LABEL: @target_cpu_target_base_call_target_cpu_nocona(
+; CHECK-NEXT:    ret i32 0
+;
   %call = call i32 @func_target_cpu_nocona()
   ret i32 %call
 }


        


More information about the llvm-commits mailing list