[llvm] 7198b8a - [X86] x86-64-extend-shift.ll - regenerate checks

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Tue May 7 09:28:25 PDT 2024


Author: Simon Pilgrim
Date: 2024-05-07T17:27:58+01:00
New Revision: 7198b8a39a062215aaf4ad8d2df23f7a10eaf6ae

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

LOG: [X86] x86-64-extend-shift.ll - regenerate checks

Added: 
    

Modified: 
    llvm/test/CodeGen/X86/x86-64-extend-shift.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/X86/x86-64-extend-shift.ll b/llvm/test/CodeGen/X86/x86-64-extend-shift.ll
index 6ebaeee3669713..b73da1625969cc 100644
--- a/llvm/test/CodeGen/X86/x86-64-extend-shift.ll
+++ b/llvm/test/CodeGen/X86/x86-64-extend-shift.ll
@@ -1,10 +1,15 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 4
 ; RUN: llc < %s -mtriple=x86_64-apple-darwin | FileCheck %s
 ; Formerly there were two shifts.
 
 define i64 @baz(i32 %A) nounwind {
-; CHECK:  shlq  $49, %r
-        %tmp1 = shl i32 %A, 17
-        %tmp2 = zext i32 %tmp1 to i64
-        %tmp3 = shl i64 %tmp2, 32
-        ret i64 %tmp3
+; CHECK-LABEL: baz:
+; CHECK:       ## %bb.0:
+; CHECK-NEXT:    movl %edi, %eax
+; CHECK-NEXT:    shlq $49, %rax
+; CHECK-NEXT:    retq
+  %tmp1 = shl i32 %A, 17
+  %tmp2 = zext i32 %tmp1 to i64
+  %tmp3 = shl i64 %tmp2, 32
+  ret i64 %tmp3
 }


        


More information about the llvm-commits mailing list