summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJin-Gu Kang <jaykang10@gmail.com>2017-04-04 16:40:25 +0000
committerJin-Gu Kang <jaykang10@gmail.com>2017-04-04 16:40:25 +0000
commite7cdcdea730e5edcaacb86e7feb8accbd0810d88 (patch)
tree5578a71b960640549cc03885329118ac0a7f48b9 /clang/lib/Frontend/CompilerInvocation.cpp
parent3e90f84806e40b0818c3003b24e558bef63db18b (diff)
downloadbcm5719-llvm-e7cdcdea730e5edcaacb86e7feb8accbd0810d88.tar.gz
bcm5719-llvm-e7cdcdea730e5edcaacb86e7feb8accbd0810d88.zip
Preserve vec3 type.
Summary: Preserve vec3 type with CodeGen option. Reviewers: Anastasia, bruno Reviewed By: Anastasia Subscribers: bruno, ahatanak, cfe-commits Differential Revision: https://reviews.llvm.org/D30810 llvm-svn: 299445
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index 91384501816..271d1ca4f6e 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -729,6 +729,7 @@ static bool ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, InputKind IK,
}
}
+ Opts.PreserveVec3Type = Args.hasArg(OPT_fpreserve_vec3_type);
Opts.InstrumentFunctions = Args.hasArg(OPT_finstrument_functions);
Opts.XRayInstrumentFunctions = Args.hasArg(OPT_fxray_instrument);
Opts.XRayInstructionThreshold =
OpenPOWER on IntegriCloud