projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Pointer arithmetic should be done with the index the same size as the pointer.
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
sse-align-1.ll
1
; RUN: llvm-as < %s | llc -march=x86-64 | grep movap | count 2
2
3
define <4 x float> @foo(<4 x float>* %p)
4
{
5
%t = load <4 x float>* %p
6
ret <4 x float> %t
7
}
8
define <2 x double> @bar(<2 x double>* %p)
9
{
10
%t = load <2 x double>* %p
11
ret <2 x double> %t
12
}