Int used to represent target integer literals
There are numerous places within GHC where we use `Int` to represent a constant literal for the target. For instance, `CmmUtils` has the following:
```hs
-- XXX: should really be Integer, since Int doesn't necessarily cover
-- the full range of target Ints.
mkIntCLit :: DynFlags -> Int -> CmmLit
mkIntCLit dflags i = CmmInt (toInteger i) (wordWidth dflags)
```
This could go very wrong when cross-compiling from a 32-bit machine to a 64-bit target.
<details><summary>Trac metadata</summary>
| Trac field | Value |
| ---------------------- | ------------ |
| Version | 8.6.2 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture | |
</details>
<!-- {"blocked_by":[],"summary":"Int used to represent target integer literals","status":"New","operating_system":"","component":"Compiler","related":[],"milestone":"8.6.3","resolution":"Unresolved","owner":{"tag":"Unowned"},"version":"8.6.2","keywords":["newcomer"],"differentials":[],"test_case":"","architecture":"","cc":[""],"type":"Bug","description":"There are numerous places within GHC where we use `Int` to represent a constant literal for the target. For instance, `CmmUtils` has the following:\r\n{{{#!hs\r\n-- XXX: should really be Integer, since Int doesn't necessarily cover\r\n-- the full range of target Ints.\r\nmkIntCLit :: DynFlags -> Int -> CmmLit\r\nmkIntCLit dflags i = CmmInt (toInteger i) (wordWidth dflags)\r\n}}}\r\nThis could go very wrong when cross-compiling from a 32-bit machine to a 64-bit target.","type_of_failure":"OtherFailure","blocking":[]} -->
issue