[PATCH] D27244: MCStreamer: Use "cfi" for CFI related temp labels.

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 29 18:39:22 PST 2016


MatzeB created this revision.
MatzeB added reviewers: cdavis5x, grosbach.
MatzeB added a subscriber: llvm-commits.
MatzeB set the repository for this revision to rL LLVM.
Herald added subscribers: mcrosier, qcolombet.

Choosing a "cfi" instead of the default "tmp" makes the intend clearer in an assembly dump.
More importantly: The dumps are more stable. The temp label numbers don't move around anymore when unrelated code calls
createTempSymbol() more or less often.

Temp labels names do not influence the generated object code (just the assembly output).

This is part of an effort to productize machine module passes. The goal here is to have llvm codegen produce the same output with/without a dummy machine module pass inserted into the pipeline.


Repository:
  rL LLVM

https://reviews.llvm.org/D27244

Files:
  include/llvm/MC/MCStreamer.h
  lib/MC/MCStreamer.cpp
  test/CodeGen/AArch64/arm64-patchpoint-webkit_jscc.ll
  test/CodeGen/X86/avg.ll
  test/CodeGen/X86/avx2-vbroadcast.ll
  test/CodeGen/X86/avx512-calling-conv.ll
  test/CodeGen/X86/avx512-fsel.ll
  test/CodeGen/X86/avx512-insert-extract.ll
  test/CodeGen/X86/avx512-mask-op.ll
  test/CodeGen/X86/avx512-mask-spills.ll
  test/CodeGen/X86/avx512-vbroadcast.ll
  test/CodeGen/X86/avx512bw-intrinsics-upgrade.ll
  test/CodeGen/X86/avx512bw-intrinsics.ll
  test/CodeGen/X86/avx512vl-intrinsics-fast-isel.ll
  test/CodeGen/X86/avx512vl-vbroadcast.ll
  test/CodeGen/X86/deopt-intrinsic-cconv.ll
  test/CodeGen/X86/deopt-intrinsic.ll
  test/CodeGen/X86/fast-isel-store.ll
  test/CodeGen/X86/haddsub-2.ll
  test/CodeGen/X86/legalize-shift-64.ll
  test/CodeGen/X86/masked_gather_scatter.ll
  test/CodeGen/X86/memset-nonzero.ll
  test/CodeGen/X86/merge-consecutive-loads-128.ll
  test/CodeGen/X86/movpc32-check.ll
  test/CodeGen/X86/patchpoint-webkit_jscc.ll
  test/CodeGen/X86/pr27071.ll
  test/CodeGen/X86/pr29112.ll
  test/CodeGen/X86/pr30430.ll
  test/CodeGen/X86/push-cfi.ll
  test/CodeGen/X86/setcc-lowering.ll
  test/CodeGen/X86/statepoint-allocas.ll
  test/CodeGen/X86/statepoint-call-lowering.ll
  test/CodeGen/X86/statepoint-gctransition-call-lowering.ll
  test/CodeGen/X86/statepoint-live-in.ll
  test/CodeGen/X86/statepoint-stackmap-format.ll
  test/CodeGen/X86/statepoint-vector.ll
  test/CodeGen/X86/tls-pie.ll
  test/CodeGen/X86/tls-shrink-wrapping.ll
  test/CodeGen/X86/vector-sext.ll
  test/CodeGen/X86/vector-shuffle-mmx.ll
  test/CodeGen/X86/vector-shuffle-v1.ll
  test/CodeGen/X86/win-cleanuppad.ll
  test/CodeGen/X86/win32-pic-jumptable.ll
  test/CodeGen/XCore/epilogue_prologue.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27244.79687.patch
Type: text/x-patch
Size: 87220 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161130/bbe59638/attachment.bin>


More information about the llvm-commits mailing list