GNUX32 uses 32-bit pointers despite is64BitMode being true. So we should use EAX to return the value.
Fixes another failure from PR38865
Differential D51940
[X86] Teach X86FastISel::X86SelectRet to use EAX for the sret pointer in GNUX32 craig.topper on Sep 11 2018, 10:33 AM. Authored by
Details GNUX32 uses 32-bit pointers despite is64BitMode being true. So we should use EAX to return the value. Fixes another failure from PR38865
Diff Detail
|