mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
6194244842
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228602 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
396 B
LLVM
13 lines
396 B
LLVM
; RUN: llc -march=hexagon -disable-hexagon-misched < %s | FileCheck %s
|
|
; Check that we generate dual stores in one packet in V4
|
|
|
|
; CHECK: memw(r{{[0-9]+}}{{ *}}+{{ *}}#{{[0-9]+}}){{ *}}=
|
|
; CHECK-NEXT: memw(r{{[0-9]+}}{{ *}}+{{ *}}#{{[0-9]+}}){{ *}}=
|
|
|
|
define i32 @main(i32 %v, i32* %p1, i32* %p2) nounwind {
|
|
entry:
|
|
store i32 %v, i32* %p1, align 4
|
|
store i32 %v, i32* %p2, align 4
|
|
ret i32 0
|
|
}
|