[PATCH] D12336: x32. Fixes a bug in i8mem_NOREX declaration.

João Porto via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 25 14:34:54 PDT 2015


jpp created this revision.
jpp added a reviewer: llvm-commits.

The old implementation assumed LP64 which is broken for x32. Specifically, the MOVE8rm_NOREX and MOVE8mr_NOREX, when selected, would cause a 'Cannot emit physreg copy instruction' error message to be reported.

This patch also enable the h-register*ll tests for x32.

http://reviews.llvm.org/D12336

Files:
  lib/Target/X86/X86InstrInfo.td
  lib/Target/X86/X86RegisterInfo.cpp
  test/CodeGen/X86/h-register-store.ll
  test/CodeGen/X86/h-registers-0.ll
  test/CodeGen/X86/h-registers-1.ll
  test/CodeGen/X86/h-registers-3.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12336.33125.patch
Type: text/x-patch
Size: 4820 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150825/1536794c/attachment.bin>


More information about the llvm-commits mailing list