HomePhabricator

[Loop Vectorizer] Support predication of div/rem

Authored by gilr on Aug 24 2016, 4:37 AM.

Description

[Loop Vectorizer] Support predication of div/rem

div/rem instructions in basic blocks that require predication currently prevent
vectorization. This patch extends the existing mechanism for predicating stores
to handle other instructions and leverages it to predicate divs and rems.

Differential Revision: https://reviews.llvm.org/D22918

llvm-svn: 279620

Details