2012-05-03 23:52:53 +02:00
|
|
|
; RUN: llc -march=hexagon -mcpu=hexagonv4 < %s | FileCheck %s
|
|
|
|
; Check that we generate dual stores in one packet in V4
|
|
|
|
|
|
|
|
; CHECK: memw(r{{[0-9]+}} + #{{[0-9]+}}) = r{{[0-9]+}}
|
|
|
|
; CHECK-NEXT: memw(r{{[0-9]+}} + #{{[0-9]+}}) = r{{[0-9]+}}
|
|
|
|
; CHECK-NEXT: }
|
|
|
|
|
|
|
|
@Reg = global i32 0, align 4
|
2012-05-11 21:56:59 +02:00
|
|
|
define void @foo() nounwind {
|
2012-05-03 23:52:53 +02:00
|
|
|
entry:
|
|
|
|
%number= alloca i32, align 4
|
2012-05-11 21:56:59 +02:00
|
|
|
store i32 500, i32* %number, align 4
|
2012-05-03 23:52:53 +02:00
|
|
|
%number1= alloca i32, align 4
|
2012-05-11 21:56:59 +02:00
|
|
|
store i32 100, i32* %number1, align 4
|
|
|
|
ret void
|
2012-05-03 23:52:53 +02:00
|
|
|
}
|
|
|
|
|