HomePhabricator

Emit warnings if vectorization is forced and fails.

Description

Emit warnings if vectorization is forced and fails.

This patch modifies the existing DiagnosticInfo system to create a generic base
class that is inherited to produce diagnostic-based warnings. This is used by
the loop vectorizer to trigger a warning when vectorization is forced and
fails. Several tests have been added to verify this behavior.

Reviewed by: Arnold Schwaighofer

Details

Committed
tnowickiJul 15 2014, 5:36 PM
Parents
rL213109: Avoid referencing the vtable when calling the ctor without emitting it
Branches
Unknown
Tags
Unknown

Event Timeline