Enables certain optimizations that can move memory loads to a point earlier in the program execution than where they appear in the source.
None
IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture
Linux: | -global-hoist -no-global-hoist |
Windows: | /Qglobal-hoist /Qglobal-hoist- |
None
ON | Certain optimizations are enabled that can move memory loads. |
This option enables certain optimizations that can move memory loads to a point earlier in the program execution than where they appear in the source. In most cases, these optimizations are safe and can improve performance.
The -no-global-hoist (/Qnoglobal-hoist-) option is useful for some applications, such as those that use shared or dynamically mapped memory, which can fail if a load is moved too early in the execution stream (for example, before the memory is mapped).
None