LLVM Changes for alloc_align
authorErich Keane <erich.keane@intel.com>
Thu, 23 Mar 2017 20:38:34 +0000 (20:38 +0000)
committerErich Keane <erich.keane@intel.com>
Thu, 23 Mar 2017 20:38:34 +0000 (20:38 +0000)
commitee1fac61d842d628ffe01c5fadd47fd936a2312f
treef9eede396d7378ab4e2aac36e9753fe35daa8904
parent8f3337950e88ae7934ffda13f15f1b9dc7e6a9a5
LLVM Changes for alloc_align

GCC has the alloc_align attribute, which is similar to assume_aligned, except the attribute's parameter is the index of the integer parameter that needs aligning to.

This is the required LLVM changes to make this happen.

Differential Revision: https://reviews.llvm.org/D29598

llvm-svn: 298643
llvm/include/llvm/IR/IRBuilder.h