llvm-project/llvm/test/CodeGen
JF Bastien 580b6572b5 X86InstrInfo::copyPhysReg: workaround reg liveness
Summary:
computeRegisterLiveness and analyzePhysReg are currently getting
confused about liveness in some cases, breaking copyPhysReg's
calculation of whether AX is dead in some cases. Work around this issue
temporarily by assuming that AX is always live.

See detail in: https://llvm.org/bugs/show_bug.cgi?id=25033#c7
And associated bugs PR24535 PR25033 PR24991 PR24992 PR25201.

This workaround makes the code correct but slightly inefficient, but it
seems to confuse the machine instr verifier which now things EAX was
undefined in some cases where it's being conservatively saved /
restored.

Reviewers: majnemer, sanjoy
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D15198

llvm-svn: 254680
2015-12-04 01:18:17 +00:00
..
AArch64 AArch64FastISel: Use cbz/cbnz to branch on i1 2015-12-03 17:19:58 +00:00
AMDGPU AMDGPU/SI: Emit constant arrays in the .hsrodata_readonly_agent section 2015-12-03 03:34:32 +00:00
ARM AArch64: use ldxp/stxp pair to implement 128-bit atomic loads. 2015-12-02 18:12:57 +00:00
BPF Revert "Change memcpy/memset/memmove to have dest and source alignments." 2015-11-19 05:56:52 +00:00
CPP Fix CPP Backend for GEP API changes for opaque pointer types 2015-09-08 18:42:29 +00:00
Generic Fix function-alias.ll test on non-X86 targets. 2015-12-04 00:57:25 +00:00
Hexagon Replace all weight-based interfaces in MBB with probability-based interfaces, and update all uses of old interfaces. 2015-12-01 05:29:22 +00:00
Inputs DI: Reverse direction of subprogram -> function edge. 2015-11-05 22:03:56 +00:00
MIR Replace all weight-based interfaces in MBB with probability-based interfaces, and update all uses of old interfaces. 2015-12-01 05:29:22 +00:00
MSP430 Revert "Change memcpy/memset/memmove to have dest and source alignments." 2015-11-19 05:56:52 +00:00
Mips Have 'optnone' respect the -fast-isel=false option. 2015-11-30 21:56:16 +00:00
NVPTX Have a single way for creating unique value names. 2015-11-22 00:16:24 +00:00
PowerPC Tests: PPC: remove unnecessary metadata. NFC 2015-12-02 21:08:03 +00:00
SPARC Drop assert that a call with struct return goes to a function with sret 2015-10-21 20:05:01 +00:00
SystemZ llvm/test/CodeGen/SystemZ/alloca-04.ll REQUIRES asserts due to -debug-pass. 2015-11-28 13:05:49 +00:00
Thumb Fix Thumb1 epilogue generation 2015-12-01 19:25:11 +00:00
Thumb2 Fix test case label check 2015-11-20 20:24:49 +00:00
WebAssembly [WebAssembly] Fix dominance check for PHIs in the StoreResult pass 2015-12-03 23:07:03 +00:00
WinEH [WinEH] Disable most forms of demotion 2015-11-19 23:23:33 +00:00
X86 X86InstrInfo::copyPhysReg: workaround reg liveness 2015-12-04 01:18:17 +00:00
XCore Revert "Change memcpy/memset/memmove to have dest and source alignments." 2015-11-19 05:56:52 +00:00