diff options
| author | Reid Kleckner <rnk@google.com> | 2017-10-10 00:57:36 +0000 |
|---|---|---|
| committer | Reid Kleckner <rnk@google.com> | 2017-10-10 00:57:36 +0000 |
| commit | ab23dace567394515566c13d44dc85acc249651a (patch) | |
| tree | 7075c6aff990774313bb1a1728c62a7b86c2bbbe /llvm/test/CodeGen/X86/wide-integer-cmp.ll | |
| parent | a11b983e11057651613305da1d10a13fc77ffd13 (diff) | |
| download | bcm5719-llvm-ab23dace567394515566c13d44dc85acc249651a.tar.gz bcm5719-llvm-ab23dace567394515566c13d44dc85acc249651a.zip | |
[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
Diffstat (limited to 'llvm/test/CodeGen/X86/wide-integer-cmp.ll')
| -rw-r--r-- | llvm/test/CodeGen/X86/wide-integer-cmp.ll | 2 |
1 files changed, 0 insertions, 2 deletions
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 |

