mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
[ARM] Regenerate constant hoisting test. NFC
This commit is contained in:
parent
30a454978c
commit
1381d043ac
@ -1,19 +1,19 @@
|
||||
; RUN: llc -mtriple=thumbv7-apple-ios %s -o - | FileCheck %s
|
||||
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
|
||||
; RUN: llc -mtriple=thumbv7-none-eabi %s -o - | FileCheck %s
|
||||
|
||||
define void @multiple_store() {
|
||||
; CHECK-LABEL: multiple_store:
|
||||
; CHECK: movw r[[BASE1:[0-9]+]], #16960
|
||||
; CHECK: movs [[VAL:r[0-9]+]], #42
|
||||
; CHECK: movt r[[BASE1]], #15
|
||||
|
||||
; CHECK-DAG: str [[VAL]], [r[[BASE1]]]
|
||||
; CHECK-DAG: str [[VAL]], [r[[BASE1]], #24]
|
||||
; CHECK-DAG: str.w [[VAL]], [r[[BASE1]], #42]
|
||||
|
||||
; CHECK: movw r[[BASE2:[0-9]+]], #20394
|
||||
; CHECK: movt r[[BASE2]], #18
|
||||
|
||||
; CHECK: str [[VAL]], [r[[BASE2]]]
|
||||
; CHECK: @ %bb.0:
|
||||
; CHECK-NEXT: movw r0, #16960
|
||||
; CHECK-NEXT: movs r1, #42
|
||||
; CHECK-NEXT: movt r0, #15
|
||||
; CHECK-NEXT: str.w r1, [r0, #42]
|
||||
; CHECK-NEXT: str r1, [r0, #24]
|
||||
; CHECK-NEXT: str r1, [r0]
|
||||
; CHECK-NEXT: movw r0, #20394
|
||||
; CHECK-NEXT: movt r0, #18
|
||||
; CHECK-NEXT: str r1, [r0]
|
||||
; CHECK-NEXT: bx lr
|
||||
store i32 42, i32* inttoptr(i32 1000000 to i32*)
|
||||
store i32 42, i32* inttoptr(i32 1000024 to i32*)
|
||||
store i32 42, i32* inttoptr(i32 1000042 to i32*)
|
||||
|
Loading…
x
Reference in New Issue
Block a user