Open Quuxplusone opened 5 years ago
tc_licm_CFHoist.ll
crash5.bc
Created attachment 21207 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.
Attached tc_licm_CFHoist.ll (8287 bytes, text/plain): reduced testcase
Attached crash5.bc (354876 bytes, application/octet-stream): unreduced test input (.bc)
I am not able to reproduce this on TOT.
tc_licm_CFHoist.ll
(8287 bytes, text/plain)crash5.bc
(354876 bytes, application/octet-stream)