[PATCH] D26677: [ARM] GlobalISel: Select add i32, i32

Diana Picus via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 15 08:47:38 PST 2016


rovka created this revision.
rovka added reviewers: qcolombet, t.p.northover.
rovka added subscribers: llvm-commits, rengolin, zvi.
Herald added subscribers: dberris, vkalintiris, mehdi_amini, aemerson.

Add the minimal support necessary to select a function that returns the sum of
two i32 values.

This includes some very naive and hardcoded argument/return lowering (to be
generalized in the future), as well as the handling of copy and add instructions
throughout the GlobalISel pipeline.


https://reviews.llvm.org/D26677

Files:
  lib/CodeGen/GlobalISel/InstructionSelector.cpp
  lib/Target/ARM/ARMCallLowering.cpp
  lib/Target/ARM/ARMInstructionSelector.cpp
  lib/Target/ARM/ARMLegalizerInfo.cpp
  lib/Target/ARM/ARMRegisterBankInfo.cpp
  lib/Target/ARM/ARMRegisterBankInfo.h
  test/CodeGen/ARM/GlobalISel/arm-instruction-select.mir
  test/CodeGen/ARM/GlobalISel/arm-irtranslator.ll
  test/CodeGen/ARM/GlobalISel/arm-isel.ll
  test/CodeGen/ARM/GlobalISel/arm-legalizer.mir
  test/CodeGen/ARM/GlobalISel/arm-regbankselect.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26677.78011.patch
Type: text/x-patch
Size: 15086 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161115/19fe411f/attachment.bin>


More information about the llvm-commits mailing list