[PATCH] D33318: [ARM] Remove ThumbTargetMachines. (NFC)

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 18 06:44:00 PDT 2017


fhahn created this revision.
Herald added subscribers: arichardson, javed.absar, aemerson.

Thumb code generation is controlled by ARMSubtarget and the concrete
ThumbLETargetMachine and ThumbBETargetMachine are not needed.

Eric Christopher suggested removing the unneeded target machines in
https://reviews.llvm.org/D33287.

I think it still makes sense to keep separate TargetMachines for big and
little endian as we probably do not want to have different endianess for
difference functions in a single compilation unit. The MIPS backend has
two separate TargetMachines for big and little endian as well.


https://reviews.llvm.org/D33318

Files:
  lib/Target/ARM/ARMTargetMachine.cpp
  lib/Target/ARM/ARMTargetMachine.h
  lib/Target/ARM/ARMTargetObjectFile.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33318.99433.patch
Type: text/x-patch
Size: 8524 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170518/5bb90c71/attachment.bin>


More information about the llvm-commits mailing list