Arthur Eubanks 86eaf6083b
[X86] Refine X86DAGToDAGISel::isSExtAbsoluteSymbolRef() (#76191)
We just need to check if the global is large or not.

In the kernel code model, globals are in the negative 2GB of the address
space, so globals can be a sign extended 32-bit immediate.

In other code models, small globals are in the low 2GB of the address
space, so sign extending them is equivalent to zero extending them.
2024-01-19 14:11:18 -08:00
..
2023-06-18 16:02:59 +01:00
2023-03-05 00:48:53 -08:00
2023-12-04 15:20:02 +00:00
2023-09-01 19:45:03 -04:00
2023-11-29 16:53:34 +08:00
2023-11-21 12:58:24 +00:00
2023-10-25 13:25:15 +01:00
2023-09-20 16:58:00 +01:00
2023-10-25 18:10:51 +01:00
2023-07-20 10:24:16 +08:00
2023-07-20 13:35:15 +08:00
2023-05-14 21:51:44 +08:00