[llvm-dev] LLVM JIT Compilation

Tim Northover via llvm-dev llvm-dev at lists.llvm.org
Wed Aug 16 13:55:02 PDT 2017


Adding llvm-dev back...

On 16 August 2017 at 13:50, hameeza ahmed <hahmed2305 at gmail.com> wrote:
> Isnt there any way to check the assembly. Like if my opt does loop
> vectorization, then backend should emit avx instructions. So those
> instructions generation / mapping procedure  is same as llc for lli as well?

There's a -debug option that'll print out the instructions in some
form. But printing its output isn't what lli is designed for, that's
llc's job.

> Means does lli also use same x86registerinfo.td, x86 instructioninfo.td, and
> x86 isellowering.cpp files for code emission? Also does it follow the same
> complete  backend chain containing instruction selection,  register
> allocation, instruction scheduling and code emission respectively?

Yes to both of those.

Cheers.

Tim.


More information about the llvm-dev mailing list