projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Verifier] Check that debug values have proper size
[oota-llvm.git]
/
test
/
CodeGen
/
Hexagon
/
dualstore.ll
diff --git
a/test/CodeGen/Hexagon/dualstore.ll
b/test/CodeGen/Hexagon/dualstore.ll
index 3bf60193a252036d4c1fd1f38618b0db05b68bff..9f4569d6459c75ac4a87e36e57a844212253d1ac 100644
(file)
--- a/
test/CodeGen/Hexagon/dualstore.ll
+++ b/
test/CodeGen/Hexagon/dualstore.ll
@@
-1,17
+1,11
@@
-; RUN: llc -march=hexagon -
mcpu=hexagonv4 < %s
| FileCheck %s
+; RUN: llc -march=hexagon -
filetype=obj %s -o - | llvm-objdump -d -
| FileCheck %s
; Check that we generate dual stores in one packet in V4
; Check that we generate dual stores in one packet in V4
-; CHECK: memw(r{{[0-9]+}}{{ *}}+{{ *}}#{{[0-9]+}}){{ *}}={{ *}}##100000
-; CHECK-NEXT: memw(r{{[0-9]+}}{{ *}}+{{ *}}#{{[0-9]+}}){{ *}}={{ *}}##500000
-; CHECK-NEXT: }
+; CHECK: 00 40 9f 52 529f4000
+; CHECK: 10 10 00 f0 f0001010
-@Reg = global i32 0, align 4
-define i32 @main() nounwind {
-entry:
- %number= alloca i32, align 4
- store i32 500000, i32* %number, align 4
- %number1= alloca i32, align 4
- store i32 100000, i32* %number1, align 4
- ret i32 0
+define void @foo(i32* %a, i32* %b) {
+ store i32 0, i32* %a
+ store i32 0, i32* %b
+ ret void
}
}
-