HomePhabricator

[X86] Fix stack probing on x32 (PR41477)

Description

[X86] Fix stack probing on x32 (PR41477)

Fix for https://bugs.llvm.org/show_bug.cgi?id=41477. On the x32 ABI
with stack probing a dynamic alloca will result in a WIN_ALLOCA_32
with a 32-bit size. The current implementation tries to copy it into
RAX, resulting in a physreg copy error. Fix this by copying to EAX
instead. Also fix incorrect opcodes or registers used in subs.

Details

Committed
nikicApr 20 2019, 12:25 AM
Parents
rL358806: [llvm-objdump] Don't disassemble symbols before SectionAddr
Branches
Unknown
Tags
Unknown