search for: threadnumber

Displaying 5 results from an estimated 5 matches for "threadnumber".

2010 May 06
2
[LLVMdev] Unreachable code executed crash
...ing. >> > > The output is wrong in @thread_pool_init: > > <stdin>:44:27: error: '%4' defined with type 'i1' > %5 = getelementptr i32* %4, i64 %indvar ; <i32*> [#uses=1] > ^ > where > > %4 = icmp slt i32 %threadnumber, 1 ; <i1> [#uses=2] > > meaning that %4 is an i1 not an i32*. I'm not sure how you managed to do > this, and how the verifier didn't catch it. Maybe the %4 operand is actually > an instruction in another function? > > I'll try to reproduce this and f...
2010 May 06
0
[LLVMdev] Unreachable code executed crash
...rashing > when the bit writer pass is running. The output is wrong in @thread_pool_init: <stdin>:44:27: error: '%4' defined with type 'i1' %5 = getelementptr i32* %4, i64 %indvar ; <i32*> [#uses=1] ^ where %4 = icmp slt i32 %threadnumber, 1 ; <i1> [#uses=2] meaning that %4 is an i1 not an i32*. I'm not sure how you managed to do this, and how the verifier didn't catch it. Maybe the %4 operand is actually an instruction in another function? I'll try to reproduce this and fix the verifier to catch i...
2010 May 06
2
[LLVMdev] Unreachable code executed crash
Yes. Intially the pass was crashing when the module when the module verifier was running. I was able to solve that and now it is crashing when the bit writer pass is running. On Wed, May 5, 2010 at 8:39 PM, Nick Lewycky <nlewycky at google.com> wrote: > On 5 May 2010 17:12, Adarsh Yoga <ayoga at umail.iu.edu> wrote: > >> Hi, >> >> I've written a pass
2010 May 07
0
[LLVMdev] Unreachable code executed crash
...The output is wrong in @thread_pool_init: > > <stdin>:44:27: error: '%4' defined with type 'i1' > %5 = getelementptr i32* %4, i64 %indvar ; <i32*> [#uses=1] > ^ > where > > %4 = icmp slt i32 %threadnumber, 1 ; <i1> [#uses=2] > > meaning that %4 is an i1 not an i32*. I'm not sure how you managed > to do this, and how the verifier didn't catch it. Maybe the %4 > operand is actually an instruction in another function? > > I'll try to repr...
2010 May 07
1
[LLVMdev] Unreachable code executed crash
...@thread_pool_init: >> >> <stdin>:44:27: error: '%4' defined with type 'i1' >> %5 = getelementptr i32* %4, i64 %indvar ; <i32*> [#uses=1] >> ^ >> where >> >> %4 = icmp slt i32 %threadnumber, 1 ; <i1> [#uses=2] >> >> meaning that %4 is an i1 not an i32*. I'm not sure how you managed >> to do this, and how the verifier didn't catch it. Maybe the %4 >> operand is actually an instruction in another function? >> >>...