summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/global-sections.ll
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2016-02-22 22:23:11 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2016-02-22 22:23:11 +0000
commit964b70d559fad083744ea2791def82c564087388 (patch)
tree7c9b53c866f77f720f425fbc81f5cfb7cb0227b5 /llvm/test/CodeGen/X86/global-sections.ll
parent157a5d5312bda0ed8da6a434ebcecfe6e646c63e (diff)
downloadbcm5719-llvm-964b70d559fad083744ea2791def82c564087388.tar.gz
bcm5719-llvm-964b70d559fad083744ea2791def82c564087388.zip
[X86] Create mergeable constant pool entries for AVX
We supported creating mergeable constant pool entries for smaller constants but not for 32-byte AVX constants. llvm-svn: 261584
Diffstat (limited to 'llvm/test/CodeGen/X86/global-sections.ll')
-rw-r--r--llvm/test/CodeGen/X86/global-sections.ll11
1 files changed, 11 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/global-sections.ll b/llvm/test/CodeGen/X86/global-sections.ll
index a18b6626256..1401218da5f 100644
--- a/llvm/test/CodeGen/X86/global-sections.ll
+++ b/llvm/test/CodeGen/X86/global-sections.ll
@@ -298,3 +298,14 @@ bb7:
; WIN32-SECTIONS: .section .rdata,"dr",one_only,_G15
; WIN32-SECTIONS: _G15:
+
+@G16 = unnamed_addr constant i256 0
+
+; LINUX: .section .rodata.cst32,"aM",@progbits,32
+; LINUX: G16:
+
+; LINUX-SECTIONS: .section .rodata.cst32,"aM",@progbits,32
+; LINUX-SECTIONS: G16:
+
+; WIN32-SECTIONS: .section .rdata,"dr",one_only,_G16
+; WIN32-SECTIONS: _G16:
OpenPOWER on IntegriCloud