AMDGPU: Pattern match ffbh pattern to instruction.

Description

AMDGPU: Pattern match ffbh pattern to instruction.

The hardware instruction's output on 0 is -1 rather than 32.
Eliminate a test and select to -1. This removes an extra instruction
from the compatability function with HSAIL's firstbit instruction.

Details

Committed
arsenmJan 11 2016, 9:02 AM
Parents
rL257351: [LLI] Remove dependence on RemoteTarget.cpp from ChildTarget's Makefile.
Branches
Unknown
Tags
Unknown