[X86] Use indirect addressing for high 2GB of x32 address space
Instructions that take immediate addresses sign-extend their operands, so cannot be used when we actually need zero extension. Use indirect addressing to avoid problems. The functions in the test are a modified versions of the functions by the same names in large-constants.ll, with i64 types changed to i32. Fixes #55061 Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D124406
Loading
Please sign in to comment