1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/lib
Evan Cheng c0e7b19ff0 After r147827 and r147902, it's now possible for unallocatable registers to be
live across BBs before register allocation. This miscompiled 197.parser
when a cmp + b are optimized to a cbnz instruction even though the CPSR def
is live-in a successor.
        cbnz    r6, LBB89_12
...
LBB89_12:
        ble     LBB89_1

The fix consists of two parts. 1) Teach LiveVariables that some unallocatable
registers might be liveouts so don't mark their last use as kill if they are.
2) ARM constantpool island pass shouldn't form cbz / cbnz if the conditional
branch does not kill CPSR.

rdar://10676853

llvm-svn: 148168
2012-01-14 01:53:46 +00:00
..
Analysis A DenseMap of a std::map isn't a very good idea because the "grow()" method will 2012-01-12 01:41:03 +00:00
Archive
AsmParser
Bitcode
CodeGen After r147827 and r147902, it's now possible for unallocatable registers to be 2012-01-14 01:53:46 +00:00
DebugInfo
ExecutionEngine
Linker
MC The error check for using -g with a .s file already containing dwarf .file 2012-01-11 18:04:47 +00:00
Object
Support Disable the crash reporter when running lit tests. 2012-01-11 20:53:25 +00:00
TableGen Delete CodeInit and CodeRecTy from TableGen. 2012-01-13 03:38:34 +00:00
Target After r147827 and r147902, it's now possible for unallocatable registers to be 2012-01-14 01:53:46 +00:00
Transforms Fix an unused variable warning that Chad noticed. 2012-01-14 00:47:44 +00:00
VMCore Added MVT::v2f16 2012-01-12 23:14:13 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile