HomePhabricator

[X86] Zero-extend pointers to i64 for x86_64

Authored by hvdijk on Nov 30 2020, 10:51 AM.

Description

[X86] Zero-extend pointers to i64 for x86_64

For LP64 mode, this has no effect as pointers are already 64 bits.
For ILP32 mode (x32), this extension is specified by the ABI.

Reviewed By: pengfei

Differential Revision: https://reviews.llvm.org/D91338

Details