diff options
Diffstat (limited to 'llvm/test/CodeGen')
| -rw-r--r-- | llvm/test/CodeGen/X86/shift-and.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/X86/shift-and.ll b/llvm/test/CodeGen/X86/shift-and.ll index 69ec2f8fae7..f1f508c225d 100644 --- a/llvm/test/CodeGen/X86/shift-and.ll +++ b/llvm/test/CodeGen/X86/shift-and.ll @@ -205,9 +205,9 @@ define i64 @big_mask_constant(i64 %x) nounwind { ; ; X64-LABEL: big_mask_constant: ; X64: # BB#0: -; X64-NEXT: movabsq $17179869184, %rax # imm = 0x400000000 -; X64-NEXT: andq %rdi, %rax -; X64-NEXT: shrq $7, %rax +; X64-NEXT: shrq $7, %rdi +; X64-NEXT: andl $134217728, %edi # imm = 0x8000000 +; X64-NEXT: movq %rdi, %rax ; X64-NEXT: retq %and = and i64 %x, 17179869184 ; 0x400000000 %sh = lshr i64 %and, 7 |

