[PATCH] Constant folding around pre-increment loads and stores

Hal Finkel hfinkel at anl.gov
Mon Feb 4 09:39:15 PST 2013


Ping.

Thanks again,
Hal

----- Original Message -----
> From: "Hal Finkel" <hfinkel at anl.gov>
> To: "llvm-commits at cs.uiuc.edu commits" <llvm-commits at cs.uiuc.edu>
> Sent: Monday, January 28, 2013 6:40:39 PM
> Subject: [PATCH] Constant folding around pre-increment loads and stores
> 
> Hello again,
> 
> Please review the attached patch which attempts to improve the code
> generation for pre-increment forms of loads and stores. Currently,
> even when a pre-increment load or store is generated, we often need
> to keep a copy of the original base register for use with other
> offsets. If all of these offsets are constants (including the offset
> which was combined into the addressing mode), then this is clearly
> unnecessary. This patch adjusts these other offsets to use the new
> incremented address.
> 
> Thanks again,
> Hal
> 
> --
> Hal Finkel
> Postdoctoral Appointee
> Leadership Computing Facility
> Argonne National Laboratory
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
> 



More information about the llvm-commits mailing list