2015-02-09 20:33:46 +00:00
|
|
|
; RUN: llc -march=hexagon -disable-hexagon-misched < %s | FileCheck %s
|
2012-05-03 21:52:53 +00:00
|
|
|
; Check that we generate dual stores in one packet in V4
|
|
|
|
|
2015-02-09 20:33:46 +00:00
|
|
|
; CHECK: memw(r{{[0-9]+}}{{ *}}+{{ *}}#{{[0-9]+}}){{ *}}=
|
|
|
|
; CHECK-NEXT: memw(r{{[0-9]+}}{{ *}}+{{ *}}#{{[0-9]+}}){{ *}}=
|
2012-05-03 21:52:53 +00:00
|
|
|
|
2015-02-09 20:33:46 +00:00
|
|
|
define i32 @main(i32 %v, i32* %p1, i32* %p2) nounwind {
|
2012-05-03 21:52:53 +00:00
|
|
|
entry:
|
2015-02-09 20:33:46 +00:00
|
|
|
store i32 %v, i32* %p1, align 4
|
|
|
|
store i32 %v, i32* %p2, align 4
|
2012-05-14 19:35:42 +00:00
|
|
|
ret i32 0
|
2012-05-03 21:52:53 +00:00
|
|
|
}
|