For the x32 ABI, since the base pointer register (EBX) is a callee save register
it should be saved before use.
This fixes https://bugs.llvm.org/show_bug.cgi?id=36011
Differential D42358
[X86][x32] Save callee-save register used as base pointer for x32 ABI pbhatu on Jan 21 2018, 8:46 PM. Authored by
Details For the x32 ABI, since the base pointer register (EBX) is a callee save register This fixes https://bugs.llvm.org/show_bug.cgi?id=36011
Diff Detail
Event Timeline
|