forked from OSchip/llvm-project
Fix typo introduced in r292960 that may affect -flto -save-temps (saving the optimized bitcode)
llvm-svn: 293370
This commit is contained in:
parent
2b85475c91
commit
655f794964
|
@ -6519,7 +6519,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
|
|||
// pristine IR generated by the frontend. Ideally, a new compile action should
|
||||
// be added so both IR can be captured.
|
||||
if (C.getDriver().isSaveTempsEnabled() &&
|
||||
!C.getDriver().embedBitcodeInObject() && !C.getDriver().isUsingLTO() &&
|
||||
!(C.getDriver().embedBitcodeInObject() && !C.getDriver().isUsingLTO()) &&
|
||||
isa<CompileJobAction>(JA))
|
||||
CmdArgs.push_back("-disable-llvm-passes");
|
||||
|
||||
|
|
Loading…
Reference in New Issue