[PATCH] D53279: [SelectionDAG] Support promotion of FRAMEADDR/RETURNADDR operands

Alex Bradbury via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 15 03:41:44 PDT 2018


asb created this revision.
asb added reviewers: bogner, eli.friedman, craig.topper.
Herald added subscribers: jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, mgrang, edward-jones, zzheng, niosHD, sabuasal, apazos, simoncook, johnrusso, rbar.

For targets where i32 is not a legal type (e.g. 64-bit RISC-V), LegalizeIntegerTypes must promote the operand.


https://reviews.llvm.org/D53279

Files:
  lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
  lib/CodeGen/SelectionDAG/LegalizeTypes.h
  test/CodeGen/RISCV/frameaddr-returnaddr.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53279.169673.patch
Type: text/x-patch
Size: 4839 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181015/d414986f/attachment.bin>


More information about the llvm-commits mailing list