- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everyone.
I'm trying to split the compilation, and generate LLVM IR. But the compiler shows an error that IR output is not supported. clang++ -fsycl -fsycl-unnamed-lambda -S -emit-llvm -ferror-limit=5 addTwoArrays.dp.cpp -std=c++17
error: IR output is not supported.
1 error generated.
Maybe someone has encountered this, or knows some other option to generate IR?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I apologize for the delay.
Please follow the below steps to generate LLVM IR.
export IGC_DumpToCurrentDir=1
export IGC_DumpLLVMIR=1
dpcpp <code>.cpp
./a.out
Thanks&Regards
Shivani
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for reaching out to us.
We are able to reproduce the error on our end. We are working on it and will get back to you soon.
Thanks & Regards
Shivani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I apologize for the delay.
Please follow the below steps to generate LLVM IR.
export IGC_DumpToCurrentDir=1
export IGC_DumpLLVMIR=1
dpcpp <code>.cpp
./a.out
Thanks&Regards
Shivani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for the confirmation! As your issue has been resolved, we will no longer respond to this thread. If you require additional assistance from Intel, please start a new thread. Any further interaction in this thread will be considered community only.
Have a Good day!
Thanks & Regards
Shivani
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page