mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-25 12:50:12 +01:00
IntegerLiterals are not signed, so get the zero-extended value rather than the sign-extended value. Sometimes we use the high bit of the `APInt`, though currently this only happens for the literals 8 and 9 due to the way we convert decimal integers to binary.