mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-13 14:46:53 +00:00
ac6a87b06e
Summary: There are a number of files in the tree which have been accidentally checked in with DOS line endings. Convert these to native line endings. There are also a few files which have DOS line endings on purpose, and I have set the svn:eol-style property to 'CRLF' on those. Reviewers: joerg, aaron.ballman Subscribers: aaron.ballman, sanjoy, dsanders, llvm-commits Differential Revision: http://reviews.llvm.org/D15848 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256707 91177308-0d34-0410-b5e6-96231b3b80d8
19 lines
740 B
LLVM
19 lines
740 B
LLVM
; RUN: opt -S -early-cse < %s | FileCheck %s
|
|
target datalayout = "e-m:e-i64:64-i128:128-n32:64-S128"
|
|
target triple = "aarch64--linux-gnu"
|
|
|
|
declare { <4 x i16>, <4 x i16>, <4 x i16>, <4 x i16> } @llvm.aarch64.neon.ld4.v4i16.p0v4i16(<4 x i16>*)
|
|
|
|
; Although the store and the ld4 are using the same pointer, the
|
|
; data can not be reused because ld4 accesses multiple elements.
|
|
define { <4 x i16>, <4 x i16>, <4 x i16>, <4 x i16> } @foo() {
|
|
entry:
|
|
store <4 x i16> undef, <4 x i16>* undef, align 8
|
|
%0 = call { <4 x i16>, <4 x i16>, <4 x i16>, <4 x i16> } @llvm.aarch64.neon.ld4.v4i16.p0v4i16(<4 x i16>* undef)
|
|
ret { <4 x i16>, <4 x i16>, <4 x i16>, <4 x i16> } %0
|
|
; CHECK-LABEL: @foo(
|
|
; CHECK: store
|
|
; CHECK-NEXT: call
|
|
; CHECK-NEXT: ret
|
|
}
|