[llvm] r322519 - [x86] regenerate test checks; NFC
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 15 13:22:47 PST 2018
Author: spatel
Date: Mon Jan 15 13:22:46 2018
New Revision: 322519
URL: http://llvm.org/viewvc/llvm-project?rev=322519&view=rev
Log:
[x86] regenerate test checks; NFC
Modified:
llvm/trunk/test/CodeGen/X86/shift-pair.ll
Modified: llvm/trunk/test/CodeGen/X86/shift-pair.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/shift-pair.ll?rev=322519&r1=322518&r2=322519&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/shift-pair.ll (original)
+++ llvm/trunk/test/CodeGen/X86/shift-pair.ll Mon Jan 15 13:22:46 2018
@@ -1,10 +1,13 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s
define i64 @test(i64 %A) {
-; CHECK: @test
-; CHECK: shrq $54
-; CHECK: andl $1020
-; CHECK: ret
+; CHECK-LABEL: test:
+; CHECK: # %bb.0:
+; CHECK-NEXT: shrq $54, %rdi
+; CHECK-NEXT: andl $1020, %edi # imm = 0x3FC
+; CHECK-NEXT: movq %rdi, %rax
+; CHECK-NEXT: retq
%B = lshr i64 %A, 56
%C = shl i64 %B, 2
ret i64 %C
More information about the llvm-commits
mailing list