[PATCH] [FastISel][X86] Assign the correct register class to folded operations

Keno Fischer kfischer at college.harvard.edu
Sat Nov 15 00:31:10 PST 2014


Ok, have a look at this and let me know what you think. It threads through the InsertPt and then sets the correct register class in foldMemoryOperandImpl. If this approach generally looks fine, I'll split out threading through the InsertPt into a separate commit (since it touches other backends).

http://reviews.llvm.org/D6262

Files:
  include/llvm/CodeGen/MachineInstrBuilder.h
  include/llvm/Target/TargetInstrInfo.h
  lib/CodeGen/TargetInstrInfo.cpp
  lib/Target/AArch64/AArch64InstrInfo.cpp
  lib/Target/AArch64/AArch64InstrInfo.h
  lib/Target/Hexagon/HexagonInstrInfo.cpp
  lib/Target/Hexagon/HexagonInstrInfo.h
  lib/Target/R600/AMDGPUInstrInfo.cpp
  lib/Target/R600/AMDGPUInstrInfo.h
  lib/Target/SystemZ/SystemZInstrInfo.cpp
  lib/Target/SystemZ/SystemZInstrInfo.h
  lib/Target/X86/X86FastISel.cpp
  lib/Target/X86/X86InstrInfo.cpp
  lib/Target/X86/X86InstrInfo.h
  test/CodeGen/X86/fast-isel-regclass.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6262.16265.patch
Type: text/x-patch
Size: 28084 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141115/e4dc88f2/attachment.bin>


More information about the llvm-commits mailing list