Displaying 2 results from an estimated 2 matches for "269398".
Did you mean:
26938
2016 May 13
3
[RFC] Disabling DAG combines in /O0
Hi all,
The DAGCombiner pass actually runs even if the optimize level is set to None. This can result in incorrect debug information or unexpected stepping/debugging experience. Not to mention that having good stepping/debugging experience is the major reason to compile at /O0.
I recently suggested a patch to disable one specific DAG combine at /O0 that broke stepping on a particular case
2016 May 17
5
[RFC] Disabling DAG combines in /O0
...;d have to be considered individually. If you want to run with this one, go right ahead.
> --paulr
>
> Index: lib/CodeGen/SelectionDAG/DAGCombiner.cpp
> ===================================================================
> --- lib/CodeGen/SelectionDAG/DAGCombiner.cpp (revision 269398)
> +++ lib/CodeGen/SelectionDAG/DAGCombiner.cpp (working copy)
> @@ -1300,6 +1300,10 @@
> continue;
> }
>
> + if (OptLevel == CodeGenOpt::None &&
> + (N->getOpcode() == ISD::LOAD || N->getOpcode() == ISD::STORE))
> + continue;...