[llvm-commits] [llvm-msp430] Patch for MSP430 frame pointer miscompilation

Anton Korobeynikov anton at korobeynikov.info
Wed Oct 17 10:39:42 PDT 2012


> Attached is a patch that fixes miscompilations of functions needing a frame
> pointer. The patch is trivial: define the method
> processFunctionBeforeFrameFinalized in the class MSP430FrameLowering instead
> of in the class MSP430RegisterInfo (it just wasn't called before).
>
> The patch also contains a testcase which demonstrates a simple function that
> was miscompiled before.
Oh, it seems to be fallout from RegInfo => FrameLowering refactoring.
Applied, thanks!

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-commits mailing list