I confirmed it is fixed.
Thanks.

> Yan,
>
> How about this one?
>
> On Thu, Oct 23, 2014 at 12:29:34AM -0700, [email protected] wrote:
>> Sorry, I should update beignet not opencv.
>> I will try.
>>
>> Yan Wang
>>
>> > You commit seems not to be merged yet.
>> > If merged, I will try.
>> > Thanks.
>> >
>> > Yan Wang
>> >
>> >> Did you try latest git master?
>> >> It should has been fixed by commit:
>> >> commit 5417a7e2afb3f2043dbb8abbaebca5115b87ab70
>> >> Author: Zhigang Gong <[email protected]>
>> >> Date:   Tue Oct 21 21:03:46 2014 +0800
>> >>
>> >>     GBE: add basic PHINode support in legalize pass.
>> >>
>> >>     Lack of the incomplete PHINode support currently.
>> >>     After this patch, we could fix all the crash cases in piglit.
>> >>
>> >>     Signed-off-by: Zhigang Gong <[email protected]>
>> >>     Tested-by: "Meng, Mengmeng" <[email protected]>
>> >>
>> >>> -----Original Message-----
>> >>> From: Beignet [mailto:[email protected]] On
>> Behalf
>> >>> Of
>> >>> [email protected]
>> >>> Sent: Thursday, October 23, 2014 3:07 PM
>> >>> To: [email protected]
>> >>> Subject: [Beignet] OpenCV Morph OCL Perf case is crash based on
>> beignet
>> >>>
>> >>> Hi, All,
>> >>>   Today I tried the latest opencv code (3.0 master) and found morph
>> >>> perf
>> >> case
>> >>> will crash when test CV_8UC1 type only.
>> >>>   The case number is the following:
>> >>>   opencv_perf_imgproc
>> >>> --gtest_filter=OCL_MorphologyExFixture_MorphologyEx.MorphologyEx/4.
>> >>>   Its operation type is MORPHY_GRADIENT.
>> >>>   I do the initial debug and found it crashed in llvm_legalize.cpp
>> line
>> >>> 516 because insn->getOpcode() couldn't get a valid op code.
>> >>>
>> >>>   %.0.i = phi i128 [ %phitmp962, %58 ], [ 0,
>> >>> %isBorder.exit.thread.thread650 ], [ 0, %19 ], [ 0, %25 ] ASSERTION
>> >> FAILED:
>> >>> false && "Illegal instruction\n"
>> >>>   at file /home/yanwang/beignet/backend/src/llvm/llvm_legalize.cpp,
>> >>> function bool gbe::Legalize::legalizeFunction(llvm::Function&), line
>> >>> 516
>> >>>
>> >>>   After asked Junyan, it seems "phi" op code hasn't been supported.
>> >>>   Thanks.
>> >>>
>> >>> Yan Wang
>> >>> _______________________________________________
>> >>> Beignet mailing list
>> >>> [email protected]
>> >>> http://lists.freedesktop.org/mailman/listinfo/beignet
>> >>
>> >> _______________________________________________
>> >> Beignet mailing list
>> >> [email protected]
>> >> http://lists.freedesktop.org/mailman/listinfo/beignet
>> >>
>> >
>> > _______________________________________________
>> > Beignet mailing list
>> > [email protected]
>> > http://lists.freedesktop.org/mailman/listinfo/beignet
>> >
>>
>> _______________________________________________
>> Beignet mailing list
>> [email protected]
>> http://lists.freedesktop.org/mailman/listinfo/beignet
>

_______________________________________________
Beignet mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/beignet

Reply via email to