Skip to content
Commit 7e5fad66 authored by Craig Topper's avatar Craig Topper
Browse files

[CodeGen] When promoting CTTZ operations to larger type, don't insert a select...

[CodeGen] When promoting CTTZ operations to larger type, don't insert a select to detect if the input is zero to return the original size instead of the extended size. Instead just set the first bit in the zero extended part.

llvm-svn: 267280
parent 723cd05f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment