summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AArch64/swiftself-scavenger.ll
Commit message (Collapse)AuthorAgeFilesLines
* RegisterScavenging: Followup to r305625Matthias Braun2017-06-201-1/+1
| | | | | | | | | | | | | This does some improvements/cleanup to the recently introduced scavengeRegisterBackwards() functionality: - Rewrite findSurvivorBackwards algorithm to use the existing LiveRegUnit::accumulateBackward() code. This also avoids the Available and Candidates bitset and just need 1 LiveRegUnit instance (= 1 bitset). - Pick registers in allocation order instead of register number order. llvm-svn: 305817
* AArch64FrameLowering: Check if the ExtraCSSpill register is actually unusedMatthias Braun2017-04-211-0/+82
The code assumed that when saving an additional CSR register (ExtraCSSpill==true) we would have a free register throughout the function. This was not true if this CSR register is also used to pass values as in the swiftself case. rdar://31451816 llvm-svn: 301057
OpenPOWER on IntegriCloud