You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assuming that int is 32 bits, then squaring int8_t should clear bits [15, 31] as the result will be [0, 16384]. I noticed that the code is not constant folded to return false when testing bit 30 (the bit next to the signbit). It also generates different llvm compared to testing bits 16-29* (icmp samesign ugt versus icmp ne 0).