summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/setcc-narrowing.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/X86/setcc-narrowing.ll')
-rw-r--r--llvm/test/CodeGen/X86/setcc-narrowing.ll13
1 files changed, 8 insertions, 5 deletions
diff --git a/llvm/test/CodeGen/X86/setcc-narrowing.ll b/llvm/test/CodeGen/X86/setcc-narrowing.ll
index a4259ddd231..c914ef37631 100644
--- a/llvm/test/CodeGen/X86/setcc-narrowing.ll
+++ b/llvm/test/CodeGen/X86/setcc-narrowing.ll
@@ -1,15 +1,18 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc < %s -mtriple=i686-apple-darwin | FileCheck %s
; PR17338
@t1.global = internal global i64 -1, align 8
define i32 @t1() nounwind ssp {
-entry:
; CHECK-LABEL: t1:
-; CHECK: xorl %eax, %eax
-; CHECK-NEXT: cmpl $0, _t1.global
-; CHECK-NEXT: setne %al
-; CHECK-NEXT: ret
+; CHECK: ## BB#0: ## %entry
+; CHECK-NEXT: xorl %eax, %eax
+; CHECK-NEXT: cmpl $0, _t1.global
+; CHECK-NEXT: setne %al
+; CHECK-NEXT: retl
+; CHECK-NEXT: ## -- End function
+entry:
%0 = load i64, i64* @t1.global, align 8
%and = and i64 4294967295, %0
%cmp = icmp sgt i64 %and, 0
OpenPOWER on IntegriCloud