Displaying 8 results from an estimated 8 matches for "verifysdnode".
2011 Mar 31
3
[LLVMdev] Assert in VerifySDNode
We are syncing to 2.9 and we are hitting an with our backend in VerifySDNode in SelectionDAG.cpp.
The first assert here is failing
assert(!isa<MemSDNode>(N) && "Bad MemSDNode!");
Now, this is new to 2.9 and I am trying to understand what is invalid about what I am generating.
What I generate has worked fine from LLVM version 2.4 until now without...
2011 Apr 01
0
[LLVMdev] Assert in VerifySDNode
Hi Micah,
> assert(!isa<MemSDNode>(N) && "Bad MemSDNode!");
you can't use getNode to allocate a MemSDNode because it does not allocate
enough memory (MemSDNode has extra fields beyond the operands).
Ciao, Duncan.
2011 Apr 01
2
[LLVMdev] Assert in VerifySDNode
> -----Original Message-----
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
> On Behalf Of Duncan Sands
> Sent: Thursday, March 31, 2011 7:43 PM
> To: llvmdev at cs.uiuc.edu
> Subject: Re: [LLVMdev] Assert in VerifySDNode
>
> Hi Micah,
>
> > assert(!isa<MemSDNode>(N) && "Bad MemSDNode!");
>
> you can't use getNode to allocate a MemSDNode because it does not
> allocate
> enough memory (MemSDNode has extra fields beyond the operands).
>
[Villmow, Micah] Dun...
2011 Apr 01
0
[LLVMdev] Assert in VerifySDNode
Hi Micah,
>>> assert(!isa<MemSDNode>(N)&& "Bad MemSDNode!");
>>
>> you can't use getNode to allocate a MemSDNode because it does not
>> allocate
>> enough memory (MemSDNode has extra fields beyond the operands).
>>
> [Villmow, Micah] Duncan, thanks for the reply. But I don't see how I am generating a MemSDNode with this
2011 Sep 13
3
[LLVMdev] Handling of DebugLocs during CSE of SelectionDAG nodes.
...);
02372 void *IP = 0;
02373 if (SDNode *E = CSEMap.FindNodeOrInsertPos(ID, IP))
02374 return SDValue(E, 0);
02375
02376 SDNode *N = new (NodeAllocator) SDNode(Opcode, DL, getVTList(VT));
02377 CSEMap.InsertNode(N, IP);
02378
02379 AllNodes.push_back(N);
02380 #ifndef NDEBUG
02381 VerifySDNode(N);
02382 #endif
02383 return SDValue(N, 0);
02384 }
2020 Jul 07
2
BUILD_VECTOR disambiguation
Mixed types aren't allowed. They are checked for in VerifySDNode in
SelectionDAG.cpp and will fail an asserts build.
~Craig
On Tue, Jul 7, 2020 at 8:25 AM Krzysztof Parzyszek via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> The problem can happen when you want to build a vector of i8, but i8
> itself is not legal on your target. All operands...
2011 Sep 13
0
[LLVMdev] Handling of DebugLocs during CSE of SelectionDAG nodes.
...ode *E = CSEMap.FindNodeOrInsertPos(ID, IP))
> 02374 return SDValue(E, 0);
> 02375
> 02376 SDNode *N = new (NodeAllocator) SDNode(Opcode, DL, getVTList(VT));
> 02377 CSEMap.InsertNode(N, IP);
> 02378
> 02379 AllNodes.push_back(N);
> 02380 #ifndef NDEBUG
> 02381 VerifySDNode(N);
> 02382 #endif
> 02383 return SDValue(N, 0);
> 02384 }
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
2020 Jul 07
3
BUILD_VECTOR disambiguation
Thanks for the clarification. The `except` seemed dangling to me, but
it's early here.
Just curious... how do we end up with a mixed type BUILD_VECTOR?
That's counterintuitive.
On Tue, Jul 7, 2020 at 10:58 AM Krzysztof Parzyszek via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
>
> Mixed integer types are ok, but the values will get truncated to the element type of the output