summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AArch64/function-subtarget-features.ll
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2015-03-21 04:37:08 +0000
committerTim Northover <tnorthover@apple.com>2015-03-21 04:37:08 +0000
commit000f99463314cb869a669cbe17ed5b890e6ea8c8 (patch)
tree40f27680f78cd6063dac20adc2e8d3e69de99dce /llvm/test/CodeGen/AArch64/function-subtarget-features.ll
parent4d0f35a901efd6f02d7583b08b7741b217be15e5 (diff)
downloadbcm5719-llvm-000f99463314cb869a669cbe17ed5b890e6ea8c8.tar.gz
bcm5719-llvm-000f99463314cb869a669cbe17ed5b890e6ea8c8.zip
AArch64: simplify test case
llvm-svn: 232886
Diffstat (limited to 'llvm/test/CodeGen/AArch64/function-subtarget-features.ll')
-rw-r--r--llvm/test/CodeGen/AArch64/function-subtarget-features.ll20
1 files changed, 2 insertions, 18 deletions
diff --git a/llvm/test/CodeGen/AArch64/function-subtarget-features.ll b/llvm/test/CodeGen/AArch64/function-subtarget-features.ll
index 933cb87b743..fca6c931655 100644
--- a/llvm/test/CodeGen/AArch64/function-subtarget-features.ll
+++ b/llvm/test/CodeGen/AArch64/function-subtarget-features.ll
@@ -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
OpenPOWER on IntegriCloud