search for: sinkthenelsecodetoend

Displaying 3 results from an estimated 3 matches for "sinkthenelsecodetoend".

2017 Jan 13
4
Wrong code bug after GVN/PRE?
...or after a bunch of other passes. Is this expected or not? I tried to dig into MemoryDependenceResults::getNonLocalPointerDependency but I have to say I'm quite lost. I ran some git bisect and as far as I can tell it starts going wrong with commit [SimplifyCFG] Change the algorithm in SinkThenElseCodeToEnd 2016-09-01, but that commit doesn't change GVN/MemoryDependenceResults so I suppose it just changes the input to GVN so the problem suddenly surfaces. Finally, the problem that I see is: In the input we have something like for (int step1 = 0; step1 < LOOP_AMOUNT; step1++) { lb[step...
2017 Jan 13
2
Wrong code bug after GVN/PRE?
...> >> I tried to dig into MemoryDependenceResults::getNonLocalPointerDependency >> but I have to say I'm quite lost. >> >> I ran some git bisect and as far as I can tell it starts going wrong with >> commit >> >> [SimplifyCFG] Change the algorithm in SinkThenElseCodeToEnd >> >> 2016-09-01, but that commit doesn't change GVN/MemoryDependenceResults so >> I suppose it just changes the input to GVN so the problem suddenly surfaces. >> >> Finally, the problem that I see is: >> >> In the input we have something like >>...
2015 Jun 28
5
[LLVMdev] Intrinsic parameters verification
Hi, I have target specific intrinsics (X86 in my case) with special constant parameters. Rounding mode constant, or scale value in gather/scatter. The scale, for example, may be 0, 1, 2, 4, or 8 only. How do I verify the values on IR level ? I'm looking at Verifier::visitIntrinsicFunctionCall() but I see only common intrinsics here, not target specific. Thank you. - Elena