[PATCH] D30979: [GlobalISel][X86] G_LOAD/G_STORE, add alternative RegisterBank mapping.

Igor Breger via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 15 06:09:36 PDT 2017


igorb created this revision.
Herald added subscribers: kristof.beyls, dberris.

G_LOAD/G_STORE, add alternative RegisterBank mapping.
For G_LOAD, Fast and Greedy mode choose the same RegisterBank mapping (GprRegBank ) for the G_GLOAD  + G_FADD , can't get rid of  cross register bank copy GprRegBank->VecRegBank.


Repository:
  rL LLVM

https://reviews.llvm.org/D30979

Files:
  lib/Target/X86/X86RegisterBankInfo.cpp
  lib/Target/X86/X86RegisterBankInfo.h
  test/CodeGen/X86/GlobalISel/X86-regbankselect.mir
  test/CodeGen/X86/GlobalISel/binop-isel.ll
  test/CodeGen/X86/GlobalISel/memop-isel.ll
  test/CodeGen/X86/GlobalISel/x86_64-instructionselect.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30979.91856.patch
Type: text/x-patch
Size: 16936 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170315/6675cb83/attachment.bin>


More information about the llvm-commits mailing list