From 39f227e4dd98d36ed852175825c3a74c05614bd6 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Mon, 9 Jan 2012 00:11:29 +0000 Subject: Don't disable MMX support when AVX is enabled. Fix predicates for MMX instructions that were added along with SSE instructions to check for AVX in addition to SSE level. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147762 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/mmx-builtins.ll | 1 + 1 file changed, 1 insertion(+) (limited to 'test/CodeGen/X86/mmx-builtins.ll') diff --git a/test/CodeGen/X86/mmx-builtins.ll b/test/CodeGen/X86/mmx-builtins.ll index 3ac0e4ee4b..8b7200d2f7 100644 --- a/test/CodeGen/X86/mmx-builtins.ll +++ b/test/CodeGen/X86/mmx-builtins.ll @@ -1,4 +1,5 @@ ; RUN: llc < %s -march=x86 -mattr=+mmx,+ssse3 | FileCheck %s +; RUN: llc < %s -march=x86 -mattr=+avx | FileCheck %s declare x86_mmx @llvm.x86.ssse3.phadd.w(x86_mmx, x86_mmx) nounwind readnone -- cgit v1.2.3