[PATCH] D12567: SelectionDAGDumper: Print simple operands inline.

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 2 10:55:45 PDT 2015


MatzeB created this revision.
MatzeB added a reviewer: resistor.
MatzeB added a subscriber: llvm-commits.
MatzeB set the repository for this revision to rL LLVM.

Print simple operands inline instead of their pointer/value number.
Simple operands are things like Constant(FP)?, Register and undef,

Before:
    0x7fb6cb8ab800: v4f32 = Register %vreg0
  0x7fb6cb8ab928: v4f32,ch = CopyFromReg 0x7fb6cb413770, 0x7fb6cb8ab800
  0x7fb6cb8abb78: i64 = Constant<0>
0x7fb6cb8abca0: f32 = extract_vector_elt 0x7fb6cb8ab928, 0x7fb6cb8abb78

After:
  0x7fb6cb8ab928 = CopyFromReg:v4f32,ch 0x7fb6cb413770, Register:v4f32  %vreg0
  0x7fb6cb8abca0 = extract_vector_elt:f32 0x7fb6cb8ab928, Constant:i64 <0>

Repository:
  rL LLVM

http://reviews.llvm.org/D12567

Files:
  include/llvm/CodeGen/SelectionDAGNodes.h
  lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12567.33831.patch
Type: text/x-patch
Size: 9580 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150902/058e8c13/attachment.bin>


More information about the llvm-commits mailing list