diff options
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | flang/lib/Frontend/CompilerInvocation.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/flang/lib/Frontend/CompilerInvocation.cpp b/flang/lib/Frontend/CompilerInvocation.cpp index 55fe989..610f60c 100644 --- a/flang/lib/Frontend/CompilerInvocation.cpp +++ b/flang/lib/Frontend/CompilerInvocation.cpp @@ -1107,6 +1107,9 @@ void CompilerInvocation::setSemanticsOpts( semanticsContext->targetCharacteristics() .set_compilerOptionsString(allCompilerInvocOpts) .set_compilerVersionString(version); + + if (targetTriple.isPPC()) + semanticsContext->targetCharacteristics().set_isPPC(true); } /// Set \p loweringOptions controlling lowering behavior based |