Mercurial > hg > CbC > CbC_llvm
diff test/CodeGen/X86/sse-align-3.ll @ 0:95c75e76d11b LLVM3.4
LLVM 3.4
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 12 Dec 2013 13:56:28 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/CodeGen/X86/sse-align-3.ll Thu Dec 12 13:56:28 2013 +0900 @@ -0,0 +1,15 @@ +; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s +; CHECK-NOT: movapd +; CHECK: movaps +; CHECK-NOT: movapd +; CHECK: movaps +; CHECK-NOT: movap + +define void @foo(<4 x float>* %p, <4 x float> %x) nounwind { + store <4 x float> %x, <4 x float>* %p + ret void +} +define void @bar(<2 x double>* %p, <2 x double> %x) nounwind { + store <2 x double> %x, <2 x double>* %p + ret void +}