]> granicus.if.org Git - llvm/commitdiff
[X86][SSE] Add SSE4A nt store tests on X86 as well as X64
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 13 Jun 2019 10:30:12 +0000 (10:30 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 13 Jun 2019 10:30:12 +0000 (10:30 +0000)
We should be able to use MOVNTSD (f64) instead of MOVNTI (i32) to reduce the number of ops 32-bit targets

Pulled out of D63246

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

test/CodeGen/X86/merge-consecutive-stores-nt.ll

index 36569a2beb00546a87b588cb8e36891f679a1cc9..d61ef8124090ac31b1f58c505afce83de06b04e6 100644 (file)
@@ -1,5 +1,6 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -mtriple=i686-unknown-unknown -mattr=+sse2 | FileCheck %s --check-prefixes=X86
+; RUN: llc < %s -mtriple=i686-unknown-unknown -mattr=+sse2 | FileCheck %s --check-prefixes=X86,X86-SSE2
+; RUN: llc < %s -mtriple=i686-unknown-unknown -mattr=+sse4a | FileCheck %s --check-prefixes=X86,X86-SSE4A
 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown | FileCheck %s --check-prefixes=X64,X64-SSE,X64-SSE2
 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+sse4a | FileCheck %s --check-prefixes=X64,X64-SSE,X64-SSE4A
 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+sse4.1 | FileCheck %s --check-prefixes=X64,X64-SSE,X64-SSE41