aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/BranchProbabilityTest.cpp
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2015-09-25 22:27:02 +0000
committerMatthias Braun <matze@braunis.de>2015-09-25 22:27:02 +0000
commita3b701f82885c57f1686661886ee7dfafb3d1a63 (patch)
tree389b8e250aa34bacef7848b6b0923787dab520aa /llvm/unittests/Support/BranchProbabilityTest.cpp
parente229c0c45ec41eda0d43a1fb2d1fb94d4b2ae224 (diff)
downloadllvm-a3b701f82885c57f1686661886ee7dfafb3d1a63.zip
llvm-a3b701f82885c57f1686661886ee7dfafb3d1a63.tar.gz
llvm-a3b701f82885c57f1686661886ee7dfafb3d1a63.tar.bz2
SelectionDAGDumper: Print simple operands inline.
Print simple operands inline instead of their pointer/value number. Simple operands are SDNodes without predecessors like Constant(FP), Register, UNDEF. This unifies the behaviour with dumpr() which was already doing this. Previously: t0: ch = EntryToken t1: i64 = Register %vreg0 t2: i64,ch = CopyFromReg t0, t1 t3: i64 = Constant<1> t4: i64 = add t2, t3 t5: i64 = Constant<2> t6: i64 = add t2, t5 t10: i64 = undef t11: i8,ch = load t0, t2, t10<LD1[%tmp81]> t12: i8,ch = load t0, t4, t10<LD1[%tmp10]> t13: i8,ch = load t0, t6, t10<LD1[%tmp12]> Now: t0: ch = EntryToken t2: i64,ch = CopyFromReg t0, Register:i64 %vreg0 t4: i64 = add t2, Constant:i64<1> t6: i64 = add t2, Constant:i64<2> t11: i8,ch = load<LD1[%tmp81]> t0, t2, undef:i64 t12: i8,ch = load<LD1[%tmp10]> t0, t4, undef:i64 t13: i8,ch = load<LD1[%tmp12]> t0, t6, undef:i64 Differential Revision: http://reviews.llvm.org/D12567 llvm-svn: 248628
Diffstat (limited to 'llvm/unittests/Support/BranchProbabilityTest.cpp')
0 files changed, 0 insertions, 0 deletions