summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/tail-call-weak.ll
Commit message (Collapse)AuthorAgeFilesLines
* ARM: stop emitting blx instructions for most calls on MachO.Tim Northover2016-05-101-4/+3
| | | | | | | | | | | I'm really not sure why we were in the first place, it's the linker's job to convert between BL/BLX as necessary. Even worse, using BLX left Thumb calls that could be locally resolved completely unencodable since all offsets to BLX are multiples of 4. rdar://26182344 llvm-svn: 269101
* ARM: permit tail calls to weak externals on COFFSaleem Abdulrasool2015-01-031-0/+19
Weak externals are resolved statically, so we can actually generate the tail call on PE/COFF targets without breaking the requirements. It is questionable whether we want to propagate the current behaviour for MachO as the requirements are part of the ARM ELF specifications, and it seems that prior to the SVN r215890, we would have tail'ed the call. For now, be conservative and only permit it on PE/COFF where the call will always be fully resolved. llvm-svn: 225119
OpenPOWER on IntegriCloud