Skip to content
Commit 798cc60a authored by Craig Topper's avatar Craig Topper
Browse files

In isUIntN, make sure N is less than 64 before using in a shift to avoid...

In isUIntN, make sure N is less than 64 before using in a shift to avoid undefined behavior. Also change it to use the same formula as the template version which I think results in less math in compiled code.

llvm-svn: 249951
parent 114aae4a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment