You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.179
Former-commit-id: 67aa10e65b237e1c4537630979ee99ebe1374215
This commit is contained in:
parent
d6bde52373
commit
8625704ad8
23
external/llvm/test/CodeGen/ARM/truncstore-dag-combine.ll
vendored
Normal file
23
external/llvm/test/CodeGen/ARM/truncstore-dag-combine.ll
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
; RUN: llc -mtriple=arm-eabi -mattr=+v4t %s -o - | FileCheck %s
|
||||
|
||||
; CHECK-LABEL: bar
|
||||
; CHECK-NOT: orr
|
||||
; CHECK-NOT: mov
|
||||
define void @bar(i8* %P, i16* %Q) {
|
||||
entry:
|
||||
%P1 = bitcast i8* %P to i16* ; <i16*> [#uses=1]
|
||||
%tmp = load i16, i16* %Q, align 1 ; <i16> [#uses=1]
|
||||
store i16 %tmp, i16* %P1, align 1
|
||||
ret void
|
||||
}
|
||||
|
||||
; CHECK-LABEL: foo
|
||||
; CHECK-NOT: orr
|
||||
; CHECK-NOT: mov
|
||||
define void @foo(i8* %P, i32* %Q) {
|
||||
entry:
|
||||
%P1 = bitcast i8* %P to i32* ; <i32*> [#uses=1]
|
||||
%tmp = load i32, i32* %Q, align 1 ; <i32> [#uses=1]
|
||||
store i32 %tmp, i32* %P1, align 1
|
||||
ret void
|
||||
}
|
Reference in New Issue
Block a user