OSDN Git Service

Follow-up to rL332176 by adding a test case for PR37264.
authorDimitry Andric <dimitry@andric.com>
Sun, 13 May 2018 14:32:23 +0000 (14:32 +0000)
committerDimitry Andric <dimitry@andric.com>
Sun, 13 May 2018 14:32:23 +0000 (14:32 +0000)
Noticed by Simon Pilgrim.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@332197 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/pr37264.ll [new file with mode: 0644]

diff --git a/test/CodeGen/X86/pr37264.ll b/test/CodeGen/X86/pr37264.ll
new file mode 100644 (file)
index 0000000..8821960
--- /dev/null
@@ -0,0 +1,12 @@
+; RUN: llc < %s -mtriple=x86_64--
+
+define void @a() local_unnamed_addr #0 {
+  ret void
+}
+
+define void @b() local_unnamed_addr #1 {
+  ret void
+}
+
+attributes #0 = { "target-features"="+avx,+avx2,+avx512bw,+avx512f,+f16c,+fma,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave" }
+attributes #1 = { "target-features"="+avx,+avx2,+avx512f,+avx512vl,+f16c,+fma,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave" }