summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-20 07:19:19 +0000
committerChris Lattner <sabre@nondot.org>2010-01-20 07:19:19 +0000
commit4c8b1824f0958db75bf24e358330bdd043f93f35 (patch)
tree7ca6748193a06c84fc2b3cce7c387a637c04ce08 /llvm/test/CodeGen
parent03cb2a303562c1314fa658476b82a6cc6613f41e (diff)
downloadbcm5719-llvm-4c8b1824f0958db75bf24e358330bdd043f93f35.tar.gz
bcm5719-llvm-4c8b1824f0958db75bf24e358330bdd043f93f35.zip
emit integer and fp zeros as (e.g.) .byte 0 instead of .space 1,
for tidiness. llvm-svn: 93992
Diffstat (limited to 'llvm/test/CodeGen')
-rw-r--r--llvm/test/CodeGen/PIC16/globals.ll6
-rw-r--r--llvm/test/CodeGen/X86/remat-scalar-zero.ll2
2 files changed, 5 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/PIC16/globals.ll b/llvm/test/CodeGen/PIC16/globals.ll
index b8c9116777b..432c291078d 100644
--- a/llvm/test/CodeGen/PIC16/globals.ll
+++ b/llvm/test/CodeGen/PIC16/globals.ll
@@ -2,7 +2,8 @@
@G1 = global i32 4712, section "Address=412"
; CHECK: @G1.412..user_section.# IDATA 412
-; CHECK: @G1 dl 4712
+; CHECK: @G1
+; CHECK: dl 4712
@G2 = global i32 0, section "Address=412"
; CHECK: @G2.412..user_section.# UDATA 412
@@ -10,6 +11,7 @@
@G3 = addrspace(1) constant i32 4712, section "Address=412"
; CHECK: @G3.412..user_section.# ROMDATA 412
-; CHECK: @G3 rom_dl 4712
+; CHECK: @G3
+; CHECK: rom_dl 4712
diff --git a/llvm/test/CodeGen/X86/remat-scalar-zero.ll b/llvm/test/CodeGen/X86/remat-scalar-zero.ll
index 790ae83c2b2..2da96aba553 100644
--- a/llvm/test/CodeGen/X86/remat-scalar-zero.ll
+++ b/llvm/test/CodeGen/X86/remat-scalar-zero.ll
@@ -1,7 +1,7 @@
; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu > %t
; RUN: not grep xor %t
; RUN: not grep movap %t
-; RUN: grep {\\.zero} %t
+; RUN: grep {\\.quad.*0} %t
; Remat should be able to fold the zero constant into the div instructions
; as a constant-pool load.
OpenPOWER on IntegriCloud