Now add a hook in TargetPassConfig to query if CSE needs to be enabled. By default this hook returns false only for O0 opt level but this can be overridden by the target.
As a consequence of the default of enabled for non O0, a few tests needed to be updated to not use CSE (by passing in -O0) to the run line.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Ternary operator?