Displaying 2 results from an estimated 2 matches for "afterlegalizevectorop".
Did you mean:
afterlegalizevectorops
2016 May 13
3
[RFC] Disabling DAG combines in /O0
...----------------------------------------------------------===//
void DAGCombiner::Run(CombineLevel AtLevel) {
+
+ if (OptLevel == CodeGenOpt::None)
+ return;
+
// set the instance variables, so that the various visit routines may use it.
Level = AtLevel;
LegalOperations = Level >= AfterLegalizeVectorOps;
It would most likely break some CodeGen tests since it would have an impact on the code produced at /O0. In fact, I tried to run the CodeGen lit tests with this patch and got 25 new test failures on different targets. These tests would probably need to be updated.
Thanks,
Marianne
------------...
2016 May 17
5
[RFC] Disabling DAG combines in /O0
...------------===//
>
> void DAGCombiner::Run(CombineLevel AtLevel) {
> +
> + if (OptLevel == CodeGenOpt::None)
> + return;
> +
> // set the instance variables, so that the various visit routines may use it.
> Level = AtLevel;
> LegalOperations = Level >= AfterLegalizeVectorOps;
>
> It would most likely break some CodeGen tests since it would have an impact on the code produced at /O0. In fact, I tried to run the CodeGen lit tests with this patch and got 25 new test failures on different targets. These tests would probably need to be updated.
>
> Thanks,...