llvm/lib
Quentin Colombet ce734f1f43 [PR16882] Ignore noreturn definitions when setting isPhysRegUsed.
PEI inserts a save/restore sequence for the link register, according to the
information it gets from the MachineRegisterInfo.
MachineRegisterInfo is populated by the VirtRegMap pass.
This pass was not aware of noreturn calls and was registering the definitions of
these calls the same way as regular operations.

Modify VirtRegPass so that it does not set the isPhysRegUsed information for
registers only defined by noreturn calls.
The rational is that a noreturn call is the "last instruction" of the program
(if it returns the behavior is undefined), so everything that is defined by it
cannot be used and will not interfere with anything else. Therefore, it is
pointless to account for then.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191349 91177308-0d34-0410-b5e6-96231b3b80d8
2013-09-25 00:26:17 +00:00
..
Analysis MemoryBuiltins: Remove posix_memalign from the list and replace it with a TODO. 2013-09-24 17:49:08 +00:00
AsmParser Implement function prefix data as an IR feature. 2013-09-16 01:08:15 +00:00
Bitcode Implement function prefix data as an IR feature. 2013-09-16 01:08:15 +00:00
CodeGen [PR16882] Ignore noreturn definitions when setting isPhysRegUsed. 2013-09-25 00:26:17 +00:00
DebugInfo llvm-dwarfdump: add missing opening quotation mark lost in r191330 2013-09-24 20:23:36 +00:00
ExecutionEngine Revert "llvm-c: Add LLVMGetPointerToFunction" 2013-09-20 07:00:36 +00:00
IR Initial support for Neon scalar instructions. 2013-09-24 02:47:27 +00:00
IRReader
Linker Implement function prefix data as an IR feature. 2013-09-16 01:08:15 +00:00
LTO Move LTO support library to a component, allowing it to be tested 2013-09-24 23:52:22 +00:00
MC MachO: Improve backend diagnostic for overalignment. 2013-09-24 23:56:31 +00:00
Object ELF: Add support for the exclude section bit for gas compat. 2013-09-15 19:53:20 +00:00
Option Fix another mistake in r190442. 2013-09-10 23:22:56 +00:00
Support Provide basic type safety for array_pod_sort comparators. 2013-09-22 14:09:50 +00:00
TableGen
Target CriticalAntiDepBreaker is no longer needed for armv7 scheduling. 2013-09-25 00:26:16 +00:00
Transforms set the cost of tiny trees to INT_MAX in SLP vectorizer to disable vectorization on them 2013-09-24 17:26:43 +00:00
CMakeLists.txt Move LTO support library to a component, allowing it to be tested 2013-09-24 23:52:22 +00:00
LLVMBuild.txt Move LTO support library to a component, allowing it to be tested 2013-09-24 23:52:22 +00:00
Makefile Move LTO support library to a component, allowing it to be tested 2013-09-24 23:52:22 +00:00