summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/fold-pcmpeqd-2.ll
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-01-30 23:47:44 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-01-30 23:47:44 +0000
commitbeb05952ce27b4039c9d8bea929f154edeb19ca0 (patch)
treecdbd3f07ca67008566e6882bd78aaa7c3e8ab240 /test/CodeGen/X86/fold-pcmpeqd-2.ll
parent893a045cdbdc08fdaa5a62a24838be2df35cb628 (diff)
downloadllvm-beb05952ce27b4039c9d8bea929f154edeb19ca0.tar.gz
llvm-beb05952ce27b4039c9d8bea929f154edeb19ca0.tar.bz2
llvm-beb05952ce27b4039c9d8bea929f154edeb19ca0.tar.xz
Chris's constant data sequence refactoring actually enabled printing
vectors of all one bits to be printed more cleverly in the AsmPrinter. Unfortunately, the byte value for all one bits is the same with -fsigned-char as the error return of '-1'. Force this to be the unsigned byte value when returning it to avoid this problem, and update the test case for the shiny new behavior. Yay for building LLVM and Clang with -funsigned-char. Chris, please review, and let me know if there is any reason to not desire this change. It seems good on the surface, and certainly intended based on the code written. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149299 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/fold-pcmpeqd-2.ll')
-rw-r--r--test/CodeGen/X86/fold-pcmpeqd-2.ll5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/CodeGen/X86/fold-pcmpeqd-2.ll b/test/CodeGen/X86/fold-pcmpeqd-2.ll
index a7b3332cc2..9cf4607cf5 100644
--- a/test/CodeGen/X86/fold-pcmpeqd-2.ll
+++ b/test/CodeGen/X86/fold-pcmpeqd-2.ll
@@ -8,10 +8,7 @@
; RAGreedy defeats the test by splitting live ranges.
; Constant pool all-ones vector:
-; CHECK: .long 4294967295
-; CHECK-NEXT: .long 4294967295
-; CHECK-NEXT: .long 4294967295
-; CHECK-NEXT: .long 4294967295
+; CHECK: .space 16,255
; No pcmpeqd instructions, everybody uses the constant pool.
; CHECK: program_1: