Displaying 2 results from an estimated 2 matches for "18369260".
Did you mean:
136926
2017 Oct 22
2
Replace "while" "for" loops with "If-Else"
...M, 陳韋任 <chenwj.cs97g at g2.nctu.edu.tw> wrote:
> If the inner loop can be flatten [1] (not sure if I use the right word),
> which means transforming the nested loop into 1-level loop, I think you can
> continue using your pass on it.
>
> [1] https://stackoverflow.com/questions/18369260/flattening-
> a-very-nested-loop
>
> HTH,
> chenwj
>
>
> 2017-10-22 13:51 GMT+08:00 Shen Liu via llvm-dev <llvm-dev at lists.llvm.org>
> :
>
>> Hi everyone,
>>
>> I hope to implement a feature to transform an IR with "while" or "for&...
2017 Oct 22
2
Replace "while" "for" loops with "If-Else"
Hi everyone,
I hope to implement a feature to transform an IR with "while" or "for"
loops to a new IR with no loop. Instead, I just want to use if-else
statements in the new IR to implement the original semantics.
I can easily write a transform pass to handle the 1-level loop case, but
for nested loops it seems a little harder.
Can you show me some hints? Thank you very