aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorStephen Long <steplong@quicinc.com>2022-06-22 10:54:50 -0700
committerStephen Long <steplong@quicinc.com>2022-06-24 08:03:42 -0700
commit186bea3750d6b349de0e71044d95e2a42e087b4c (patch)
tree4ad3d11974b0863beea27053ca7cd4d411494b5f /clang/lib/CodeGen/CodeGenFunction.cpp
parent946c45a4ed5d5e2f262110a27390369f0d8fc3eb (diff)
downloadllvm-186bea3750d6b349de0e71044d95e2a42e087b4c.zip
llvm-186bea3750d6b349de0e71044d95e2a42e087b4c.tar.gz
llvm-186bea3750d6b349de0e71044d95e2a42e087b4c.tar.bz2
[MSVC] Add initial support for MSVC pragma optimize
MSVC's pragma optimize turns optimizations on or off based on the list passed. At the moment, we only support an empty optimization list. i.e. `#pragma optimize("", on | off)` From MSVC's docs: | Parameter | Type of optimization | |-----------|--------------------------------------------------| | g | Enable global optimizations. Deprecated | | s or t | Specify short or fast sequences of machine code | | y | Generate frame pointers on the program stack | https://docs.microsoft.com/en-us/cpp/preprocessor/optimize?view=msvc-170 Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D125723
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions