[llvm] d7464ea - [X86] Regenerate add32ri8.ll

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 18 08:03:09 PDT 2023


Author: Simon Pilgrim
Date: 2023-06-18T16:02:59+01:00
New Revision: d7464ea5e61e50e91dbccddcd9d88b06c10a67cc

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

LOG: [X86] Regenerate add32ri8.ll

Added: 
    

Modified: 
    llvm/test/CodeGen/X86/add32ri8.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/X86/add32ri8.ll b/llvm/test/CodeGen/X86/add32ri8.ll
index 4e78bccd20fa4..60d59677c0012 100644
--- a/llvm/test/CodeGen/X86/add32ri8.ll
+++ b/llvm/test/CodeGen/X86/add32ri8.ll
@@ -1,9 +1,13 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 2
 ; RUN: llc -mtriple=x86_64-linux -fast-isel -show-mc-encoding < %s | FileCheck %s
 
 ; pr22854
-; CHECK: addl	$42, %esi               # encoding: [0x83,0xc6,0x2a]
-
-define void @foo(ptr%s, i32 %x) {
+define void @foo(ptr %s, i32 %x) {
+; CHECK-LABEL: foo:
+; CHECK:       # %bb.0:
+; CHECK-NEXT:    addl $42, %esi # encoding: [0x83,0xc6,0x2a]
+; CHECK-NEXT:    movl %esi, (%rdi) # encoding: [0x89,0x37]
+; CHECK-NEXT:    retq # encoding: [0xc3]
   %y = add nsw i32 %x, 42
   store i32 %y, ptr %s, align 4
   ret void


        


More information about the llvm-commits mailing list