mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
AArch64: simplify test case
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232886 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4638c99333
commit
048ca17f6e
@ -8,24 +8,8 @@ target triple = "aarch64--linux-gnu"
|
||||
|
||||
; Function Attrs: nounwind
|
||||
define <16 x i8> @foo(<16 x i8> %data, <16 x i8> %key) #0 {
|
||||
entry:
|
||||
%__p0.addr.i = alloca <16 x i8>, align 16
|
||||
%__p1.addr.i = alloca <16 x i8>, align 16
|
||||
%__ret.i = alloca <16 x i8>, align 16
|
||||
%data.addr = alloca <16 x i8>, align 16
|
||||
%key.addr = alloca <16 x i8>, align 16
|
||||
store <16 x i8> %data, <16 x i8>* %data.addr, align 16
|
||||
store <16 x i8> %key, <16 x i8>* %key.addr, align 16
|
||||
%0 = load <16 x i8>, <16 x i8>* %data.addr, align 16
|
||||
%1 = load <16 x i8>, <16 x i8>* %key.addr, align 16
|
||||
store <16 x i8> %0, <16 x i8>* %__p0.addr.i, align 16
|
||||
store <16 x i8> %1, <16 x i8>* %__p1.addr.i, align 16
|
||||
%2 = load <16 x i8>, <16 x i8>* %__p0.addr.i, align 16
|
||||
%3 = load <16 x i8>, <16 x i8>* %__p1.addr.i, align 16
|
||||
%vaeseq_v.i = call <16 x i8> @llvm.aarch64.crypto.aese(<16 x i8> %2, <16 x i8> %3)
|
||||
store <16 x i8> %vaeseq_v.i, <16 x i8>* %__ret.i, align 16
|
||||
%4 = load <16 x i8>, <16 x i8>* %__ret.i, align 16
|
||||
ret <16 x i8> %4
|
||||
%vaeseq_v.i = call <16 x i8> @llvm.aarch64.crypto.aese(<16 x i8> %data, <16 x i8> %key)
|
||||
ret <16 x i8> %vaeseq_v.i
|
||||
}
|
||||
|
||||
; CHECK: foo
|
||||
|
Loading…
Reference in New Issue
Block a user