diff options
Diffstat (limited to 'llvm/test/CodeGen/AArch64')
-rw-r--r-- | llvm/test/CodeGen/AArch64/O3-pipeline.ll | 4 | ||||
-rw-r--r-- | llvm/test/CodeGen/AArch64/bcmp-inline-small.ll | 44 |
2 files changed, 0 insertions, 48 deletions
diff --git a/llvm/test/CodeGen/AArch64/O3-pipeline.ll b/llvm/test/CodeGen/AArch64/O3-pipeline.ll index 2d5f6675100..f7a3410ada1 100644 --- a/llvm/test/CodeGen/AArch64/O3-pipeline.ll +++ b/llvm/test/CodeGen/AArch64/O3-pipeline.ll @@ -32,10 +32,6 @@ ; CHECK-NEXT: Loop Pass Manager ; CHECK-NEXT: Induction Variable Users ; CHECK-NEXT: Loop Strength Reduction -; CHECK-NEXT: Basic Alias Analysis (stateless AA impl) -; CHECK-NEXT: Function Alias Analysis Results -; CHECK-NEXT: Merge contiguous icmps into a memcmp -; CHECK-NEXT: Expand memcmp() to load/stores ; CHECK-NEXT: Lower Garbage Collection Instructions ; CHECK-NEXT: Shadow Stack GC Lowering ; CHECK-NEXT: Remove unreachable blocks from the CFG diff --git a/llvm/test/CodeGen/AArch64/bcmp-inline-small.ll b/llvm/test/CodeGen/AArch64/bcmp-inline-small.ll deleted file mode 100644 index da42b1d6863..00000000000 --- a/llvm/test/CodeGen/AArch64/bcmp-inline-small.ll +++ /dev/null @@ -1,44 +0,0 @@ -; RUN: llc -O2 < %s -mtriple=aarch64-linux-gnu | FileCheck %s --check-prefixes=CHECK,CHECKN -; RUN: llc -O2 < %s -mtriple=aarch64-linux-gnu -mattr=strict-align | FileCheck %s --check-prefixes=CHECK,CHECKS - -declare i32 @bcmp(i8*, i8*, i64) nounwind readonly -declare i32 @memcmp(i8*, i8*, i64) nounwind readonly - -define i1 @bcmp_b2(i8* %s1, i8* %s2) { -entry: - %bcmp = call i32 @bcmp(i8* %s1, i8* %s2, i64 15) - %ret = icmp eq i32 %bcmp, 0 - ret i1 %ret - -; CHECK-LABEL: bcmp_b2: -; CHECK-NOT: bl bcmp -; CHECKN: ldr x -; CHECKN-NEXT: ldr x -; CHECKN-NEXT: ldur x -; CHECKN-NEXT: ldur x -; CHECKS: ldr x -; CHECKS-NEXT: ldr x -; CHECKS-NEXT: ldr w -; CHECKS-NEXT: ldr w -; CHECKS-NEXT: ldrh w -; CHECKS-NEXT: ldrh w -; CHECKS-NEXT: ldrb w -; CHECKS-NEXT: ldrb w -} - -define i1 @bcmp_bs(i8* %s1, i8* %s2) optsize { -entry: - %memcmp = call i32 @memcmp(i8* %s1, i8* %s2, i64 31) - %ret = icmp eq i32 %memcmp, 0 - ret i1 %ret - -; CHECK-LABEL: bcmp_bs: -; CHECKN-NOT: bl memcmp -; CHECKN: ldp x -; CHECKN-NEXT: ldp x -; CHECKN-NEXT: ldr x -; CHECKN-NEXT: ldr x -; CHECKN-NEXT: ldur x -; CHECKN-NEXT: ldur x -; CHECKS: bl memcmp -} |