HomePhabricator

[NVPTX] Generate a more optimal sequence for select of i1

Description

[NVPTX] Generate a more optimal sequence for select of i1

Instead of creating a pattern like "(p && a) || ((!p) && b)",
just expand the i8 operands to i32 and perform the selp on them.

Fixes PR22246

Details

Committed
jholewinskiJan 26 2015, 11:52 AM
Parents
rL227122: Add a UTF8 to UTF16 conversion wrapper for use in the pdb dumper
Branches
Unknown
Tags
Unknown