[llvm-commits] Patch for MSP430 frame pointer miscompilation

Job Noorman job.noorman at cs.kuleuven.be
Wed Oct 17 06:26:06 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.

Best regards,
Job

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fp.diff
Type: text/x-patch
Size: 3591 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121017/58d4a772/attachment.bin>


More information about the llvm-commits mailing list