[llvm-dev] Why my backend passes are executed by llc and not by clang ?

Thierno Barry via llvm-dev llvm-dev at lists.llvm.org
Fri Feb 19 06:23:40 PST 2016

I’m working with llvm 3.6 and I’m cross compiling a C sourcecode for ARM.

I introduced some passes in the ARM backend.

I’m wondering why when I use clang generate a .bc file (froma .c source file) and then llc –march=arm to generate an assembly file, mypasses are executed. But if use only clang to directly generate an ARM assemblyfile (from a .c source file) my passes are not executed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160219/7543869a/attachment.html>

More information about the llvm-dev mailing list