summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/copy-cpsr.ll
Commit message (Collapse)AuthorAgeFilesLines
* ARM: allow copying of CPSR when all else fails.Tim Northover2014-10-011-0/+41
As with x86 and AArch64, certain situations can arise where we need to spill CPSR in the middle of a calculation. These should be avoided where possible (MRS/MSR is rather expensive), which ARM is actually better at than the other two since it tries to Glue defs to uses, but as a last ditch effort, copying is better than crashing. rdar://problem/18011155 llvm-svn: 218789
OpenPOWER on IntegriCloud