2013-03-05 18:42:28 +00:00
|
|
|
; RUN: llc -march=hexagon -mcpu=hexagonv4 -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
|
|
|
|
|
2013-03-05 18:42:28 +00:00
|
|
|
; CHECK: memw(r{{[0-9]+}}{{ *}}+{{ *}}#{{[0-9]+}}){{ *}}={{ *}}##500000
|
|
|
|
; CHECK-NEXT: memw(r{{[0-9]+}}{{ *}}+{{ *}}#{{[0-9]+}}){{ *}}={{ *}}##100000
|
2012-05-03 21:52:53 +00:00
|
|
|
; CHECK-NEXT: }
|
|
|
|
|
|
|
|
@Reg = global i32 0, align 4
|
2012-05-14 19:35:42 +00:00
|
|
|
define i32 @main() nounwind {
|
2012-05-03 21:52:53 +00:00
|
|
|
entry:
|
|
|
|
%number= alloca i32, align 4
|
2012-05-14 19:35:42 +00:00
|
|
|
store i32 500000, i32* %number, align 4
|
2012-05-03 21:52:53 +00:00
|
|
|
%number1= alloca i32, align 4
|
2012-05-14 19:35:42 +00:00
|
|
|
store i32 100000, i32* %number1, align 4
|
|
|
|
ret i32 0
|
2012-05-03 21:52:53 +00:00
|
|
|
}
|
|
|
|
|