[PATCH] D67976: [Dominators][CodeGen] Clean up MachineDominators

Jakub Kuderski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 27 10:53:18 PDT 2019


kuhar added a comment.

The changes to verifier caught a MDT bug on AArch64:

  test/CodeGen/AArch64/tailmerging_in_mbp.ll -mtriple=aarch64-eabi -verify-machine-dom-info 
  DominatorTree is different than a freshly computed one!
  	Current:
  =============================--------------------------------
  Inorder Dominator Tree: DFSNumbers invalid: 25 slow queries.
    [1] %bb.0 {4294967295,4294967295} [0]
      [2] %bb.1 {4294967295,4294967295} [1]
        [3] %bb.2 {4294967295,4294967295} [2]
          [4] %bb.3 {4294967295,4294967295} [3]
            [5] %bb.7 {4294967295,4294967295} [4]
            [5] %bb.4 {4294967295,4294967295} [4]
              [6] %bb.5 {4294967295,4294967295} [5]
                [7] %bb.6 {4294967295,4294967295} [6]
      [2] %bb.8 {4294967295,4294967295} [1]
  Roots: %bb.0 
  
  	Freshly computed tree:
  =============================--------------------------------
  Inorder Dominator Tree: DFSNumbers invalid: 0 slow queries.
    [1] %bb.0 {4294967295,4294967295} [0]
      [2] %bb.1 {4294967295,4294967295} [1]
        [3] %bb.2 {4294967295,4294967295} [2]
          [4] %bb.9 {4294967295,4294967295} [3]
          [4] %bb.3 {4294967295,4294967295} [3]
            [5] %bb.7 {4294967295,4294967295} [4]
            [5] %bb.4 {4294967295,4294967295} [4]
              [6] %bb.10 {4294967295,4294967295} [5]
              [6] %bb.5 {4294967295,4294967295} [5]
                [7] %bb.6 {4294967295,4294967295} [6]
                  [8] %bb.11 {4294967295,4294967295} [7]
      [2] %bb.8 {4294967295,4294967295} [1]
  Roots: %bb.0 
  MachineDominatorTree verification failed

Investigating


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67976/new/

https://reviews.llvm.org/D67976





More information about the llvm-commits mailing list