HomePhabricator

Fix warning caused by TableGen verifier predicate (NFC)

Authored by mehdi_amini on Fri, Jun 19, 11:22 PM.

Description

Fix warning caused by TableGen verifier predicate (NFC)

Avoid using max on unsigned constants, in case the caller is using 0 we
end up with:

warning: taking the max of unsigned zero and a value is always equal to the other value [-Wmax-unsigned-zero]

Instead we can just use native TableGen to fold the comparison here.

Details

Committed
mehdi_aminiFri, Jun 19, 11:31 PM
Parents
rGd313cb6e956d: Update redirected output file.
Branches
Unknown
Tags
Unknown