[llvm-commits] [llvm] r55292 - in /llvm/trunk: lib/Target/X86/X86ISelLowering.cpp test/CodeGen/X86/fold-call-2.ll

Dan Gohman gohman at apple.com
Mon Aug 25 12:51:08 PDT 2008


On Aug 24, 2008, at 12:19 PM, Evan Cheng wrote:

> Author: evancheng
> Date: Sun Aug 24 14:19:55 2008
> New Revision: 55292
>
> URL: http://llvm.org/viewvc/llvm-project?rev=55292&view=rev
> Log:
> Move callseq_start above the call address load to allow load to be  
> folded into the call node.

What happens if the callseq_start involves a non-trivial stack
pointer adjustment and the load's address is spilled and needs
to be reloaded? Could this change cause the reload to happen
from the wrong stack location?

Dan




More information about the llvm-commits mailing list