[llvm-dev] Question about -flto behavior

Snider, Todd via llvm-dev llvm-dev at lists.llvm.org
Mon Oct 18 13:56:35 PDT 2021


Hi All,

When -flto is combined with -S on the clang command line, the output .s file contains IR content instead of target assembly language.

Is this expected/correct behavior? I was anticipating that the output .s file would contain target assembly code.

~ Todd Snider
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20211018/3191b445/attachment.html>


More information about the llvm-dev mailing list