commit | b75c8fc6fbac57e0bde233516fa125f65b36af84 | [log] [tgz] |
---|---|---|
author | Nikita Popov <nikita.ppv@gmail.com> | Sat Apr 20 07:25:46 2019 +0000 |
committer | Nikita Popov <nikita.ppv@gmail.com> | Sat Apr 20 07:25:46 2019 +0000 |
tree | df835d745d4a007ab4503ee149c6073fe6b21d1d | |
parent | ce12ea8dfc371735672342f2dcc6ecfb32e3b4d7 [diff] |
[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. llvm-svn: 358807