RFC: Patch for switch elimination (PR 54742)

Jakub Jelinek jakub@redhat.com
Thu Sep 4 13:07:00 GMT 2014


On Thu, Sep 04, 2014 at 02:57:47PM +0200, Richard Biener wrote:
> Note that I think we arrived at the point where the loop structure
> has annotations that are required for correctness :/  (simduid
> for example - if that goes away we do ...?  ICE?  generate
> wrong code?  I don't know - Jakub shoud).

For safelen loops it will be just (perhaps serious) missed-optimization,
for simduid I believe it shouldn't ICE either, the IFN_GOMP* builtins would
just fold as if the vectorization factor was 1 if the loop goes away.
But it will be even significantly bigger missed-optimization.

	Jakub



More information about the Gcc-patches mailing list