Displaying 9 results from an estimated 9 matches for "dmikushin".
Did you mean:
mikushin
2012 Jun 27
2
[LLVMdev] [NVPTX] Backend failure in LegalizeDAG due to unimplemented expand in target lowering
...g to understand why the attached IR code works for x86_64
target and fails for nvptx64, because of unimplemented expand during
the target lowering. Any ideas?
Just change the target triple to x86_64-unknown-unknown, and the same
IR code could we successfully codegen-ed for x86_64.
Thanks,
- Dima.
dmikushin at dmikushin-desktop:~/Desktop$ gdb ~/sandbox/bin/llc
GNU gdb (Ubuntu/Linaro 7.3-0ubuntu2) 7.3-2011.08
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute...
2012 Jun 29
0
[LLVMdev] [NVPTX] Backend failure in LegalizeDAG due to unimplemented expand in target lowering
Hi again,
Kind people on #llvm helped me to utilize bugpoint to reduce the
previously submitted test case. For record, it code be done with the
following command:
$ bugpoint -llc-safe test.ll
The resulting IR is attached, and it is crashing in the same way. Is
it a valid code?
dmikushin at hp2:~/forge/kernelgen/branches/tests_lnt/behavior/sincos>
llc test.ll.1
This action is not supported yet!
UNREACHABLE executed at
/tmp/rpmbuild_debug/BUILD/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1194!
0 libLLVM-3.2svn.so 0x00007f395f147077
1 libLLVM-3.2svn.so 0x00007f395f14763d
2 li...
2012 May 16
2
[LLVMdev] NVPTX: __iAtomicCAS support ?
Dear colleagues,
I'm looking if we can replace nvopencc with LLVM NVPTX in our project.
It turns NVPTX won't work with the code nvopencc can handle (please
see the log below). So are atomic intrinsics not supported or am I
doing call in a wrong way?
Thanks,
- Dima.
SOURCE
========
dmikushin at hp2:~> cat kernelgen_monitor.ll
; ModuleID = '/opt/kernelgen/include/kernelgen_monitor.cu'
target datalayout = "e-p:64:64-i64:64:64-f64:64:64-n1:8:16:32:64"
target triple = "ptx64-unknown-unknown"
%struct.kernelgen_callback_t = type { i32, i32,
%"struct.kerne...
2012 May 16
0
[LLVMdev] NVPTX: __iAtomicCAS support ?
...nd, __iAtomicCAS() is a CUDA-C built-in function; the implementation is provided by a library linked with the LLVM IR before the NVPTX back-end sees it. You will need to provide your own implementations for such functions.
>
> Thanks,
> - Dima.
>
> SOURCE
> ========
>
> dmikushin at hp2:~> cat kernelgen_monitor.ll
> ; ModuleID = '/opt/kernelgen/include/kernelgen_monitor.cu'
> target datalayout = "e-p:64:64-i64:64:64-f64:64:64-n1:8:16:32:64"
> target triple = "ptx64-unknown-unknown"
>
> %struct.kernelgen_callback_t = type { i32,...
2012 Aug 02
1
[LLVMdev] Questions about clang options
...ir /opt/kernelgen/bin/../lib/clang/3.2
-fmodule-cache-path /var/tmp/clang-module-cache -internal-isystem
/usr/local/include -internal-isystem
/opt/kernelgen/bin/../lib/clang/3.2/include -internal-externc-isystem
/include -internal-externc-isystem /usr/include
-fdebug-compilation-dir
/RHM/users/work/dmikushin/forge/kernelgen/trunk/src -ferror-limit 19
-fmessage-length 173 -mstackrealign -fgnu-runtime
-fobjc-runtime-has-arc -fobjc-runtime-has-weak -fobjc-fragile-abi
-fdiagnostics-show-option -fcolor-diagnostics -o showdebug.o -x c
showdebug.c
clang -cc1 version 3.2 based upon LLVM 3.2svn default target
x...
2012 Aug 02
0
[LLVMdev] Questions about clang options
On Thu, Aug 2, 2012 at 8:56 AM, Xinglin Zhang <xinglinzh at gmail.com> wrote:
> Hi,
>
> I am quite new to LLVM. I just compiled LLVM and clang on Ubuntu11.10 then
> followed the tutorial http://llvm.org/docs/DebuggingJITedCode.html
>
> clang -cc1 -O0 -g -emit-llvm showdebug.c
>
>
> where showdebug.c contains:
>
> #include<stdio.h>
> int main()
>
2012 Aug 02
2
[LLVMdev] Questions about clang options
Hi,
I am quite new to LLVM. I just compiled LLVM and clang on Ubuntu11.10 then
followed the tutorial http://llvm.org/docs/DebuggingJITedCode.html
clang -cc1 -O0 -g -emit-llvm showdebug.c
where showdebug.c contains:
#include<stdio.h>
int main()
{
printf("hello\n");
return 0;
}
But I got
Fatal error: 'stdio.h' file not found.
However,
clang showdebug.c
has no
2012 Nov 09
0
[LLVMdev] [NVPTX] llc -march=nvptx64 -mcpu=sm_20 generates invalid zero align for device function params
...ssSpace(), O);
if (GVar->getAlignment() == 0)
O << " .align " << (int) TD->getPrefTypeAlignment(ETy);
else
O << " .align " << GVar->getAlignment();
Could you please review and commit? Do you think it needs a test case?
Thanks,
- D.
dmikushin at hp2:~/forge/align0> llc -march=nvptx64 -mcpu=sm_20 align0.ll -o -
//
// Generated by LLVM NVPTX Back-End
//
.version 3.1
.target sm_20
.address_size 64
// .globl __internal_dsmul
.visible .func __internal_dsmul(
.param .b64 __internal_dsmul_param_0,
.param .align 4 .b8 __internal_dsmul_...
2012 Jul 11
2
[LLVMdev] [NVPTX] llc -march=nvptx64 -mcpu=sm_20 generates invalid zero align for device function params
Hello,
FYI, this is a bug http://llvm.org/bugs/show_bug.cgi?id=13324
When compiling the following code for sm_20, func params are by some reason
given with .align 0, which is invalid. Problem does not occur if compiled
for sm_10.
> cat test.ll
; ModuleID = '__kernelgen_main_module'
target datalayout = "e-p:64:64-i64:64:64-f64:64:64-n1:8:16:32:64"
target triple =