]> granicus.if.org Git - llvm/commitdiff
Merging r332197:
authorTom Stellard <tstellar@redhat.com>
Mon, 14 May 2018 17:23:13 +0000 (17:23 +0000)
committerTom Stellard <tstellar@redhat.com>
Mon, 14 May 2018 17:23:13 +0000 (17:23 +0000)
------------------------------------------------------------------------
r332197 | dim | 2018-05-13 07:32:23 -0700 (Sun, 13 May 2018) | 4 lines

Follow-up to rL332176 by adding a test case for PR37264.

Noticed by Simon Pilgrim.

------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_60@332264 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" }