Displaying 8 results from an estimated 8 matches for "build_clang".
2012 Jan 16
0
[LLVMdev] Opt pass 'Canonicalize Induction Variables' not working
...olly -O0
to also enable -enable-iv-rewrite you need:
clang -Xclang -load -Xclang ${POLLY_DLIB} ${FILE}.c -o ${FILE}.ll -S
-emit-llvm -mllvm -polly -O0 -mllvm -enable-iv-rewrite.
I just tried to detect the scops myself. I used for this the following
command:
alias pollycc='~/Projekte/polly/build_clang/bin/clang -Xclang -load \
-Xclang ~/Projekte/polly/build_clang/lib/LLVMPolly.so'
pollycc -mllvm -polly-show test.c -c -mllvm -enable-iv-rewrite -mllvm
-polly -O3
It detects all three loops. Can you reproduce this?
Cheers
Tobi
-------------- next part --------------
A non-tex...
2012 Jan 16
2
[LLVMdev] Opt pass 'Canonicalize Induction Variables' not working
Hello Tobi,
Thank you for the quick reply.
I updated my complete build suite with your script (http://polly.grosser.es/polly.sh). The make-test fails with some errors, the rest went smoothly;
--
Exit Code: 1
Command Output (stderr):
--
LLVM ERROR: Could not resolve external global address: stdout
--
********************
Testing Time: 10.01s
********************
Failing Tests (3):
Polly ::
2012 Jan 16
1
[LLVMdev] Opt pass 'Canonicalize Induction Variables' not working
...able-iv-rewrite you need:
>
> clang -Xclang -load -Xclang ${POLLY_DLIB} ${FILE}.c -o ${FILE}.ll -S -emit-llvm -mllvm -polly -O0 -mllvm -enable-iv-rewrite.
>
> I just tried to detect the scops myself. I used for this the following command:
>
> alias pollycc='~/Projekte/polly/build_clang/bin/clang -Xclang -load \
> -Xclang ~/Projekte/polly/build_clang/lib/LLVMPolly.so'
>
> pollycc -mllvm -polly-show test.c -c -mllvm -enable-iv-rewrite -mllvm -polly -O3
>
> It detects all three loops. Can you reproduce this?
>
> Cheers
> Tobi
> <tes...
2018 Aug 29
3
Get full cmake lines and prepocessed source for a GCC bug report
...hanks in advance.
Regards,
- Sedat -
[0] https://lists.llvm.org/pipermail/llvm-dev/2018-August/125651.html
[1] https://lists.llvm.org/pipermail/llvm-dev/2018-August/125701.html
[2] https://llvm.org/docs/CMake.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build_clang-with-ninja.sh
Type: application/x-shellscript
Size: 2281 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180829/865a472d/attachment.bin>
2018 May 07
0
[clang] Running a single testcase
> On 7 May 2018, at 11:01, Sedat Dilek via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> On Mon, May 7, 2018 at 5:52 AM, Brian Cain <brian.cain at gmail.com <mailto:brian.cain at gmail.com>> wrote:
>> The simplest way to run a clang test case that I know of is to clone both
>> llvm and clang repos, run all the tests, then run an individual test.
>>
2018 May 07
2
[clang] Running a single testcase
...Clang :: Sema/asm.c (1 of 1)
Testing Time: 0.10s
Expected Passes : 1
This now looks good to me.
How can I force to use a different clang than
"/home/sdi/src/llvm-toolchain/build/bin/clang"?
I have no symlink to /usr/bin/clang.
Thanks.
Regards,
- Sedat -
P.S.: New build-script
[build_clang-with-ninja.sh ]
#!/bin/sh
export LANG=C
export LC_ALL=C
cd build
CMAKE="cmake"
CMAKE_OPTS="-G Ninja -DCMAKE_C_COMPILER=clang-7
-DCMAKE_CXX_COMPILER=clang++-7 -DLLVM_PARALLEL_COMPILE_JOBS=2
-DLLVM_PARALLEL_LINK_JOBS=1 -DCMAKE_BUILD_TYPE=RELEASE
-DLLVM_ENABLE_ASSERTIONS=ON -DLLVM...
2018 Aug 28
2
LLVM/Clang version 7.0.0rc2 fails with gcc (Debian 8.2.0-4)
On Tue, Aug 28, 2018 at 10:26 AM, Sedat Dilek via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> On Mon, Aug 27, 2018 at 6:09 PM, Sedat Dilek <sedat.dilek at gmail.com> wrote:
>> Hi,
>>
>> I have not sent yet any bug-reports to llvm-dev but I am seeing this
>> build-failure:
>>
>> ...
>> [574/3685] Building CXX object
>>
2018 May 07
2
[clang] Running a single testcase
On Mon, May 7, 2018 at 5:52 AM, Brian Cain <brian.cain at gmail.com> wrote:
> The simplest way to run a clang test case that I know of is to clone both
> llvm and clang repos, run all the tests, then run an individual test.
>
> IIRC like so:
>
> git clone llvm ......
> cd llvm/tools
> git clone clang .....
> cd ../../
> mkdir build
> cd build
> cmake