From ab23dace567394515566c13d44dc85acc249651a Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Tue, 10 Oct 2017 00:57:36 +0000 Subject: [MC] Suppress .Lcfi labels when emitting textual assembly Summary: This suppresses the generation of .Lcfi labels in our textual assembler. It was annoying that this generated cascading .Lcfi labels: llc foo.ll -o - | llvm-mc | llvm-mc After three trips through MCAsmStreamer, we'd have three labels in the output when none are necessary. We should only bother creating the labels and frame data when making a real object file. This supercedes D38605, which moved the entire .seh_ implementation into MCObjectStreamer. This has the advantage that we do more checking when emitting textual assembly, as a minor efficiency cost. Outputting textual assembly is not performance critical, so this shouldn't matter. Reviewers: majnemer, MatzeB Subscribers: qcolombet, nemanjai, javed.absar, eraman, hiraditya, JDevlieghere, llvm-commits Differential Revision: https://reviews.llvm.org/D38638 llvm-svn: 315259 --- llvm/test/CodeGen/X86/wide-integer-cmp.ll | 2 -- 1 file changed, 2 deletions(-) (limited to 'llvm/test/CodeGen/X86/wide-integer-cmp.ll') diff --git a/llvm/test/CodeGen/X86/wide-integer-cmp.ll b/llvm/test/CodeGen/X86/wide-integer-cmp.ll index 182d7cc73c9..97460b36a74 100644 --- a/llvm/test/CodeGen/X86/wide-integer-cmp.ll +++ b/llvm/test/CodeGen/X86/wide-integer-cmp.ll @@ -91,9 +91,7 @@ define i32 @test_wide(i128 %a, i128 %b) { ; CHECK-LABEL: test_wide: ; CHECK: # BB#0: # %entry ; CHECK-NEXT: pushl %esi -; CHECK-NEXT: .Lcfi0: ; CHECK-NEXT: .cfi_def_cfa_offset 8 -; CHECK-NEXT: .Lcfi1: ; CHECK-NEXT: .cfi_offset %esi, -8 ; CHECK-NEXT: movl {{[0-9]+}}(%esp), %eax ; CHECK-NEXT: movl {{[0-9]+}}(%esp), %ecx -- cgit v1.2.3