[PATCH] D13963: Create a new interface addSuccessorWithoutWeight(MBB*) in MBB to add successors when optimization is disabled.

Cong Hou via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 23 17:13:31 PDT 2015


congh updated this revision to Diff 38280.
congh added a comment.

Update the patch by replacing an assertion in addSuccessorWithoutWeight() with a statement that clears all weights.


http://reviews.llvm.org/D13963

Files:
  include/llvm/CodeGen/MachineBasicBlock.h
  lib/CodeGen/MachineBasicBlock.cpp
  lib/CodeGen/SelectionDAG/FastISel.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  lib/Target/AArch64/AArch64FastISel.cpp
  test/CodeGen/MIR/X86/newline-handling.mir
  test/CodeGen/MIR/X86/successor-basic-blocks.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13963.38280.patch
Type: text/x-patch
Size: 7214 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151024/57c4bb22/attachment.bin>


More information about the llvm-commits mailing list