[PATCH] D62627: [NFC] Do not run CGProfilePass when -fno-integrated-as is on

Zhizhou Yang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 29 14:49:54 PDT 2019


zhizhouy added inline comments.


================
Comment at: clang/lib/Driver/ToolChains/Clang.cpp:4000
     CmdArgs.push_back("-no-integrated-as");
+    // .cgprofile can only be parsed by llvm-as, do not run CGProfilePass if
+    // integrated-as is not used.
----------------
manojgupta wrote:
> llvm MC assembler? llvm-as is for converting text ll to bitcode files.
Thanks for correction.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62627/new/

https://reviews.llvm.org/D62627





More information about the llvm-commits mailing list