This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Sure, I need to do _something_ anyway because of the cost issue. The current code will happily transform
if (a) s = sin (x); else c = cos (x);
to use sincos.
Probably not (all real-world testcases I looked at have sin and cos in
the same BB only). But the tree-ssa-math-opts pass is run after tree-loop, so too late for PRE to clean up. Was there any reason for
this? If not I'd move it at least before loop.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |