From: Sanjay Patel Date: Wed, 30 Nov 2016 15:00:43 +0000 (+0000) Subject: [AArch64] use exact checks; NFC X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6f52fe9c8b063173b20e3cf23ca012c5f1ec0bc6;p=platform%2Fupstream%2Fllvm.git [AArch64] use exact checks; NFC llvm-svn: 288245 --- diff --git a/llvm/test/CodeGen/AArch64/arm64-icmp-opt.ll b/llvm/test/CodeGen/AArch64/arm64-icmp-opt.ll index 6da7f6b..a5a2959 100644 --- a/llvm/test/CodeGen/AArch64/arm64-icmp-opt.ll +++ b/llvm/test/CodeGen/AArch64/arm64-icmp-opt.ll @@ -5,12 +5,13 @@ ; for comparison only ; rdar://10233472 -define i32 @t1(i64 %a) nounwind ssp { -entry: +define i32 @t1(i64 %a) { ; CHECK-LABEL: t1: -; CHECK-NOT: movn -; CHECK: cmp x0, #0 -; CHECK: cset w0, ge +; CHECK: // BB#0: +; CHECK-NEXT: cmp x0, #0 +; CHECK-NEXT: cset w0, ge +; CHECK-NEXT: ret +; %cmp = icmp sgt i64 %a, -1 %conv = zext i1 %cmp to i32 ret i32 %conv