Skip to content

Commit d1db5f3

Browse files
committed
[X86] Regen 2009-05-23-dagcombine-shifts.ll test; NFC
1 parent 5535716 commit d1db5f3

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

llvm/test/CodeGen/X86/2009-05-23-dagcombine-shifts.ll

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 4
12
; RUN: llc < %s | FileCheck %s
23

34
; Check that the shr(shl X, 56), 48) is not mistakenly turned into
@@ -16,11 +17,13 @@ target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f3
1617
target triple = "x86_64-unknown-linux-gnu"
1718

1819
define i64 @foo(i64 %b) nounwind readnone {
19-
entry:
2020
; CHECK-LABEL: foo:
21-
; CHECK: movsbq %dil, %rax
22-
; CHECK: shlq $8, %rax
23-
; CHECK: orq $1, %rax
21+
; CHECK: # %bb.0: # %entry
22+
; CHECK-NEXT: movsbq %dil, %rax
23+
; CHECK-NEXT: shlq $8, %rax
24+
; CHECK-NEXT: orq $1, %rax
25+
; CHECK-NEXT: retq
26+
entry:
2427
%shl = shl i64 %b, 56 ; <i64> [#uses=1]
2528
%shr = ashr i64 %shl, 48 ; <i64> [#uses=1]
2629
%add5 = or i64 %shr, 1 ; <i64> [#uses=1]

0 commit comments

Comments
 (0)