aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Stellard <tstellar@redhat.com>2018-05-14 17:23:13 +0000
committerTom Stellard <tstellar@redhat.com>2018-05-14 17:23:13 +0000
commit8343b5760faf0ce7d7a0506d6d1dd159f279d9ac (patch)
tree15328a2c0b8fc517629bcdd3173a17d92acc1ad5
parentd68404a728e40b0da8a903fb9f512e6ee66a2757 (diff)
downloadllvm-8343b5760faf0ce7d7a0506d6d1dd159f279d9ac.zip
llvm-8343b5760faf0ce7d7a0506d6d1dd159f279d9ac.tar.gz
llvm-8343b5760faf0ce7d7a0506d6d1dd159f279d9ac.tar.bz2
Merging r332197:
------------------------------------------------------------------------ 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. ------------------------------------------------------------------------ llvm-svn: 332264
-rw-r--r--llvm/test/CodeGen/X86/pr37264.ll12
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/pr37264.ll b/llvm/test/CodeGen/X86/pr37264.ll
new file mode 100644
index 0000000..8821960
--- /dev/null
+++ b/llvm/test/CodeGen/X86/pr37264.ll
@@ -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" }