- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
The aoc compiler gets the <input>.cl kernel code and passes to aocl-clang to generate altera's specific LLVM IR. I would like to know if I can feed (somehow) the LLVM IR (using clang -x cl -s -emit-llvm input.cl -o output.ll) inside the aoc compiler ? I see that the aoc compiler uses the aocl-opt and etc as tool for its chain, but I don't know wich flags should I use. Furthermore, I do not know if aocl-clang frontend does anything to the IR different from the standard clang (what I think it is a company secret). My interest in doing this (feed my clang IR into aoc) is because I'm writing a LLVM optimization pass which results I would like to use to create an FPGA accelerator. Thank youLink Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How do you hack the aoc compilation flow ? I think aocl is a different command chain from aoc.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page