Displaying 3 results from an estimated 3 matches for "netcasp".
Did you mean:
nethasp
2014 Mar 18
4
[LLVMdev] E = L->begin() in LoopVectorize
Hi,
I'm studying loop vectorizer. I don't understand the code yet. But
it looks not right to assign L->begin() to E. Is it a typo?
Thanks,
Liang
diff --git a/lib/Transforms/Vectorize/LoopVectorize.cpp
b/lib/Transforms/Vectorize/LoopVectorize.cpp
index 435c005..87b5d79 100644
--- a/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/lib/Transforms/Vectorize/LoopVectorize.cpp
@@
2014 Mar 18
2
[LLVMdev] E = L->begin() in LoopVectorize
Looking at it now, curious why no tests failed.
On Tue, Mar 18, 2014 at 2:48 PM, Jim Grosbach <grosbach at apple.com> wrote:
> Almost certainly, yes. Nice catch!
>
>
> On Mar 18, 2014, at 2:38 PM, Liang Wang <netcasper at gmail.com> wrote:
>
> > Hi,
> >
> > I'm studying loop vectorizer. I don't understand the code yet. But
> > it looks not right to assign L->begin() to E. Is it a typo?
> >
> > Thanks,
> > Liang
> >
> > diff --git a/lib/Tr...
2014 Oct 18
2
[LLVMdev] Dereferencing NULL pointer in IndVarSimplify.cpp?
Hi,
Here is the code in IndVarSimplify.cpp.
SmallVector<WeakVH, 16> DeadInsts;
while (!DeadInsts.empty())
if (Instruction *Inst =
dyn_cast_or_null<Instruction>(&*DeadInsts.pop_back_val()))
RecursivelyDeleteTriviallyDeadInstructions(Inst, TLI);
Since DeadInsts.pop_back_val() is WeakVH which could hold a NULL
pointer, the expression,