[llvm-commits] [patch] Use correct alignment when merging zero sized arrays in instruction combine

Richard Osborne richard at xmos.com
Mon Sep 17 08:50:08 PDT 2012


I noticed that when merging zero sized allocas instruction combine 
ignores the alignment set on the alloca instruction. This patch fixes 
this. OK to commit?

Thanks,

Richard

-- 
Richard Osborne | XMOS
http://www.xmos.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: alloca_align.diff
Type: text/x-patch
Size: 2657 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120917/430cd04d/attachment.bin>


More information about the llvm-commits mailing list