Revert "[X86] Widen the 'AND' mask if doing so shrinks the encoding size"
[oota-llvm.git] / test / CodeGen / X86 / shift-pair.ll
1 ; RUN: llc < %s -march=x86-64 | FileCheck %s
2
3 define i64 @test(i64 %A) {
4 ; CHECK: @test
5 ; CHECK: shrq $54
6 ; CHECK: andl $1020
7 ; CHECK: ret
8     %B = lshr i64 %A, 56
9     %C = shl i64 %B, 2
10     ret i64 %C
11 }