Displaying 2 results from an estimated 2 matches for "79f75553".
2018 Jan 15
0
Source level code transformation V.S. IR-level code transformation
...serve the IR for both side, see if you can think of algorithm
handling your case.
--
Wei-Ren Chen (陳韋任)
Homepage: https://people.cs.nctu.edu.tw/~chenwj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180115/79f75553/attachment.html>
2018 Jan 15
3
Source level code transformation V.S. IR-level code transformation
Dear all,
I'm working on a simple code transformation problem that can be
described as below:
for a C++ loop:
*for (int i = 0; i < N; ++i) {*
* a = M[i] + b;*
* }*
I want to transform it to:
*int A[4]; *
* for (int i = 0; i < N; ++i) {*
* A[0] = M[i] + b;*
* A[1] = M[i] + b;*
* A[2] = M[i] + b;*
* A[3] = M[i] + b;*
*