search for: succiterator

Displaying 7 results from an estimated 7 matches for "succiterator".

2010 Oct 21
1
[LLVMdev] MS VS2010 std implementation: "Cannot assign iterators to two different blocks!"
...////////////////////////////////// void swap(_Ty& _Left, _Ty& _Right) { // exchange values stored at _Left and _Right _Ty _Tmp = Left; _Left = _Right; _Right = Tmp; } //////////////////////////////////////////////////// the deque being reversed had 3 items: `a1`, `a2`, and `a3` (`SuccIterator&` types) the 1st call to swap `_Left` was `a1` and `_Right` was `a3` the assignment: "_Left = _Right" was "a1 = a3" `a1` and `a3` had different `SuccIterator::Term`s, causing the assert in `SuccIterator::operator=` to fail. This all happened when an llvm stack was being...
2010 Oct 05
4
[LLVMdev] MS VS2010 std implementation: "Cannot assign iterators to two different blocks!"
When using MS VS2010 there is an issue with std: `SuccIterator` implements a partial assignment operator: inline const _Self &operator=(const _Self &I) { assert(Term == I.Term &&"Cannot assign iterators to two different blocks!"); idx = I.idx; return *this; } For copy construction, MS VS2010 std reserves th...
2010 Oct 21
0
[LLVMdev] MS VS2010 std implementation: "Cannot assign iterators to two different blocks!"
On Mon, Oct 4, 2010 at 9:52 PM, Bob Floyd <bobfloyd at comcast.net> wrote: > When using MS VS2010 there is an issue with std: > > > > `SuccIterator` implements a partial assignment operator: > > > > inline const _Self &operator=(const _Self &I) { > >     assert(Term == I.Term &&"Cannot assign iterators to two different > blocks!"); > >     idx = I.idx; > >     return *this; > >  ...
2010 Oct 20
0
[LLVMdev] MS VS2010 std implementation: "Cannot assign iterators to two different blocks!"
Hi Bob, was this issue resolved? Ciao, Duncan. > When using MS VS2010 there is an issue with std: > > `SuccIterator` implements a partial assignment operator: > > inline const _Self &operator=(const _Self &I) { > > assert(Term == I.Term &&"Cannot assign iterators to two different blocks!"); > > idx = I.idx; > > return *this; > > } > > For copy constru...
2011 Oct 13
6
[LLVMdev] BasicBlock succ iterator
...basic block in main function. And new functions were created and basic blocks of Loop assigned to them.I have checked blocks and branches for Succ and Pred relation and I have not found any problems. However I get the following error: * **opt: /home/llvm/src/include/llvm/**Support/CFG.h:105: llvm::SuccIterator<Term_, BB_>::SuccIterator(Term_) [with Term_ = llvm::TerminatorInst*, BB_ = llvm::BasicBlock]: Assertion `T && "getTerminator returned null!"' failed. 0 opt 0x0848e569 Stack dump: 0. Program arguments: opt -dot-cfg -dot-postdom -dot-dom -load /home/llvm/src/Release/l...
2019 Jul 22
3
Fwd: bugpoint can't automatically select a safe interpreter!
...ad2/git/llvm-project/llvm/lib/Analysis/SyncDependenceAnalysis.cpp:312: std::unique_ptr<ConstBlockSet> llvm::DivergencePropagator::computeJoinPoints(const llvm::BasicBlock &, SuccessorIterable, const llvm::Loop *, const llvm::BasicBlock *) [SuccessorIterable = llvm::iterator_range<llvm::SuccIterator<const llvm::Instruction, const llvm::BasicBlock> >]: Assertion `HeaderDefBlock && "no definition in header of carrying loop"' failed. Stack dump: 0. Program arguments: /home/jayfoad2/llvm-debug/bin/opt -use-gpu-divergence-analysis -divergence stripped.ll 1. Running pa...
2010 Feb 03
1
[LLVMdev] Forward references to a function
...o foo(). The compiler dies JIT-ing foo() because it's not done yet. Specifically, I'm in the middle of generating one of the BBs of foo(), so it doesn't have a terminating instruction and I assert with: Assertion failed: (T && "getTerminator returned null!"), function SuccIterator, file /Users/ddd/Development/llvm/include/llvm/Support/CFG.h, line 99. I have checked that ExecutionEnding::DisableLazyCompilation() fixes it. Am I supposed to enable lazy JIT in that case? That's not really what i want, what I really would like is to be able to state that a function is "...