hanchenye-llvm-project/llvm/test/CodeGen/XCore
Reid Kleckner ab23dace56 [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
2017-10-10 00:57:36 +00:00
..
2008-11-17-Shl64.ll
2009-01-08-Crash.ll
2009-01-14-Remat-Crash.ll
2009-03-27-v2f64-param.ll
2009-07-15-store192.ll
2010-02-25-LSR-Crash.ll
2011-01-31-DAGCombineBug.ll
2011-08-01-DynamicAllocBug.ll
DbgValueOtherTargets.test
addsub64.ll
aliases.ll
align.ll
alignment.ll
ashr.ll
atomic.ll
basictest.ll
bigstructret.ll
byVal.ll
call.ll
codemodel.ll Delete Default and JITDefault code models 2017-08-03 02:16:21 +00:00
constants.ll
dwarf_debug.ll
epilogue_prologue.ll [MC] Suppress .Lcfi labels when emitting textual assembly 2017-10-10 00:57:36 +00:00
events.ll
exception.ll
float-intrinsics.ll
fneg.ll
getid.ll
globals.ll
indirectbr.ll
inline-asm.ll
ladd_lsub_combine.ll
licm-ldwcp.ll
linkage.ll
lit.local.cfg
llvm-intrinsics.ll
load.ll
memcpy.ll
misc-intrinsics.ll
mkmsk.ll
mul64.ll
offset_folding.ll
private.ll
ps-intrinsics.ll
resources.ll
resources_combine.ll
scavenging.ll
section-name.ll
sext.ll
shedulingPreference.ll
sr-intrinsics.ll
store.ll
switch.ll
switch_long.ll
threads.ll
tls.ll
trampoline.ll
trap.ll
unaligned_load.ll
unaligned_store.ll
unaligned_store_combine.ll
varargs.ll [DAG] Improve Aliasing of operations to static alloca 2017-07-18 20:06:24 +00:00
zext.ll
zextfree.ll