1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/lib
zhizhouy da8241e253 [NFC] Do not run CGProfilePass when not using integrated assembler
Summary:
CGProfilePass is run by default in certain new pass manager optimization pipeline. Assemblers other than llvm as (such as gnu as) cannot recognize the .cgprofile entries generated and emitted from this pass, causing build time error.

This patch adds new options in clang CodeGenOpts and PassBuilder options so that we can turn cgprofile off when not using integrated assembler.

Reviewers: Bigcheese, xur, george.burgess.iv, chandlerc, manojgupta

Reviewed By: manojgupta

Subscribers: manojgupta, void, hiraditya, dexonsmith, llvm-commits, tcwang, llozano

Tags: #llvm, #clang

Differential Revision: https://reviews.llvm.org/D62627
2020-03-31 10:31:31 -07:00
..
Analysis [ValueLattice] Distinguish between constant ranges with/without undef. 2020-03-31 12:50:20 +01:00
AsmParser Add debug info support for Swift/Clang APINotes. 2020-03-11 18:47:30 -07:00
BinaryFormat [llvm-objdump][XCOFF][AIX] Implement -r option 2020-03-27 16:05:42 +00:00
Bitcode Add debug info support for Swift/Clang APINotes. 2020-03-11 18:47:30 -07:00
Bitstream
CodeGen [Alignment][NFC] Deprecate MachineMemOperand::getMachineMemOperand version that takes an untyped alignement. 2020-03-31 16:05:31 +00:00
DebugInfo Suppress a few -Wunreachable-code warnings. 2020-03-25 13:55:42 -04:00
Demangle
DWARFLinker Add an -object-path-prefix option to dsymutil 2020-03-24 17:13:42 -07:00
ExecutionEngine [ORC] Introduce JITSymbolFlags::HasMaterializeSideEffectsOnly flag. 2020-03-27 11:02:54 -07:00
Frontend [OpenMP] set_bits iterator yields unsigned elements, no reference (NFC). 2020-03-29 17:08:13 +01:00
Fuzzer
FuzzMutate Remove CompositeType class. 2020-03-18 13:53:17 -07:00
IR [AssumeBundles] Preserve information in EarlyCSE 2020-03-31 17:47:04 +02:00
IRReader
LineEditor
Linker
LTO Revert "[Darwin] Respect -fno-unroll-loops during LTO." 2020-03-30 15:20:30 +01:00
MC [MC] Move deprecation infos from MCTargetDesc to MCInstrInfo 2020-03-29 21:20:40 +02:00
MCA
Object [RISCV] ELF attribute section for RISC-V. 2020-03-31 16:16:19 +08:00
ObjectYAML [RISCV] ELF attribute section for RISC-V. 2020-03-31 16:16:19 +08:00
Option
Passes [NFC] Do not run CGProfilePass when not using integrated assembler 2020-03-31 10:31:31 -07:00
ProfileData [SampleFDO] Port MD5 name table support to extbinary format. 2020-03-30 22:07:08 -07:00
Remarks
Support [lld][COFF][ELF][WebAssembly] Replace --[no-]threads /threads[:no] with --threads={1,2,...} /threads:{1,2,...} 2020-03-31 08:46:12 -07:00
TableGen
Target [Alignment][NFC] Deprecate MachineMemOperand::getMachineMemOperand version that takes an untyped alignement. 2020-03-31 16:05:31 +00:00
Testing
TextAPI Suppress a few -Wunreachable-code warnings. 2020-03-25 13:55:42 -04:00
ToolDrivers
Transforms [SCCP] Limit use of range info for binops to integers for now. 2020-03-31 17:08:09 +01:00
WindowsManifest
XRay
CMakeLists.txt
LLVMBuild.txt