Instead of handling the zero case for that promoted value and then
adjusting the result for the original type, we can set the appropriate
bit in the promoted value.
Details
Details
- Reviewers
- None
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Looks good, but there's room for a minor improvement still - see inline comment.
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | ||
---|---|---|
4051 | Another trick that can be added here: operation can now be safely changed to CTTZ_UNDEF. |
Another trick that can be added here: operation can now be safely changed to CTTZ_UNDEF.