[PATCH] D20820: [mips] Implement 'la' macro in PIC mode for O32.

Daniel Sanders via llvm-commits llvm-commits at lists.llvm.org
Tue May 31 08:35:39 PDT 2016


dsanders created this revision.
dsanders added a reviewer: sdardis.
dsanders added a subscriber: llvm-commits.
Herald added subscribers: sdardis, dsanders.

N32 support will follow in a later patch since the symbol version of 'la'
incorrectly believes N32 to have 64-bit pointers and rejects it early.

This fixes the three incorrectly expanded 'la' macros found in bionic.

http://reviews.llvm.org/D20820

Files:
  lib/Target/Mips/AsmParser/MipsAsmParser.cpp
  lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp
  lib/Target/Mips/MCTargetDesc/MipsABIInfo.cpp
  lib/Target/Mips/MCTargetDesc/MipsABIInfo.h
  test/MC/Mips/macro-la-pic.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20820.59077.patch
Type: text/x-patch
Size: 11935 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160531/ef768065/attachment.bin>


More information about the llvm-commits mailing list