HomePhabricator

[SimpligyCFG] NFC intended, remove GCD that was only used for powers of two

Description

[SimpligyCFG] NFC intended, remove GCD that was only used for powers of two

and replace with an equilivent countTrailingZeros.

GCD is much more expensive than this, with repeated division.

This depends on D60823

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

Details

Committed
shawnlJun 14 2019, 9:56 AM
Differential Revision
D61151: [SimpligyCFG] NFC, remove GCD that was only used for powers of two
Parents
rL363421: Wrap a test to 80 columns
Branches
Unknown
Tags
Unknown