hanchenye-llvm-project/llvm/lib/Target/ARM/InstPrinter
Tim Northover 46a6f0fbf0 Recommit: ARM: sort register lists by encoding in push/pop instructions.
For example we were producing

    push {r8, r10, r11, r4, r5, r7, lr}

This is misleading (r4, r5 and r7 are actually pushed before the rest), and
other components (stack folding recently) often forget to deal with the extra
complexity coming from the different order, leading to miscompiles. Finally, we
warn about our own code in -no-integrated-as mode without this, which is really
not a good idea.

Fixed usage of std::sort so that we (hopefully) use instantiations that
actually exist in GCC 4.8.

llvm-svn: 286881
2016-11-14 20:28:24 +00:00
..
ARMInstPrinter.cpp Recommit: ARM: sort register lists by encoding in push/pop instructions. 2016-11-14 20:28:24 +00:00
ARMInstPrinter.h
CMakeLists.txt
LLVMBuild.txt