diff options
author | Sanjay Patel <spatel@rotateright.com> | 2016-05-28 14:58:37 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2016-05-28 14:58:37 +0000 |
commit | 97c2c108fd23a377ca21f89d25dc021ffa884b19 (patch) | |
tree | bba70d79cf628687cf784a8239e4034117f78314 /llvm/test/CodeGen/X86/vector-bitreverse.ll | |
parent | a3dc1ba142c5c1f8e4b53e501597904c23e5c61f (diff) | |
download | bcm5719-llvm-97c2c108fd23a377ca21f89d25dc021ffa884b19.tar.gz bcm5719-llvm-97c2c108fd23a377ca21f89d25dc021ffa884b19.zip |
[x86] avoid printing unnecessary sign bits of hex immediates in asm comments (PR20347)
It would be better to check the valid/expected size of the immediate operand, but this is
generally better than what we print right now.
Differential Revision: http://reviews.llvm.org/D20385
llvm-svn: 271114
Diffstat (limited to 'llvm/test/CodeGen/X86/vector-bitreverse.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/vector-bitreverse.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/vector-bitreverse.ll b/llvm/test/CodeGen/X86/vector-bitreverse.ll index f33621ea26d..7f116be994e 100644 --- a/llvm/test/CodeGen/X86/vector-bitreverse.ll +++ b/llvm/test/CodeGen/X86/vector-bitreverse.ll @@ -615,7 +615,7 @@ define i64 @test_bitreverse_i64(i64 %a) nounwind { ; SSE-NEXT: orq %rcx, %rdx ; SSE-NEXT: movq %rdi, %rcx ; SSE-NEXT: shrq %rcx -; SSE-NEXT: andl $-2147483648, %ecx # imm = 0xFFFFFFFF80000000 +; SSE-NEXT: andl $-2147483648, %ecx # imm = 0x80000000 ; SSE-NEXT: orq %rdx, %rcx ; SSE-NEXT: movq %rdi, %rdx ; SSE-NEXT: shrq $3, %rdx @@ -871,7 +871,7 @@ define i64 @test_bitreverse_i64(i64 %a) nounwind { ; AVX-NEXT: orq %rcx, %rdx ; AVX-NEXT: movq %rdi, %rcx ; AVX-NEXT: shrq %rcx -; AVX-NEXT: andl $-2147483648, %ecx # imm = 0xFFFFFFFF80000000 +; AVX-NEXT: andl $-2147483648, %ecx # imm = 0x80000000 ; AVX-NEXT: orq %rdx, %rcx ; AVX-NEXT: movq %rdi, %rdx ; AVX-NEXT: shrq $3, %rdx |