[llvm-bugs] [Bug 39934] New: [LICM] -licm-control-flow-hoisting triggers "New hoist point expected to dominate old hoist point"

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Dec 10 01:45:34 PST 2018


https://bugs.llvm.org/show_bug.cgi?id=39934

            Bug ID: 39934
           Summary: [LICM] -licm-control-flow-hoisting triggers "New hoist
                    point expected to dominate old hoist point"
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Loop Optimizer
          Assignee: unassignedbugs at nondot.org
          Reporter: paulsson at linux.vnet.ibm.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 21207
  --> https://bugs.llvm.org/attachment.cgi?id=21207&action=edit
reduced testcase

opt -march=z13 -S -O3 tc_licm_CFHoist.ll -o out.opt.ll
-licm-control-flow-hoisting

lib/Transforms/Scalar/LICM.cpp:817: bool llvm::hoistRegion(llvm::DomTreeNode*,
llvm::AliasAnalysis*, llvm::LoopInfo*, llvm::DominatorTree*,
llvm::TargetLibraryInfo*, llvm::Loop*, llvm::AliasSetTracker*,
llvm::ICFLoopSafetyInfo*, llvm::OptimizationRemarkEmitter*): Assertion
`DT->dominates(Dominator, HoistPoint->getParent()) && "New hoist point expected
to dominate old hoist point"' failed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181210/1db64859/attachment.html>


More information about the llvm-bugs mailing list