]> granicus.if.org Git - llvm/commit
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)
commit36bb50f5293da49e89ae560ab9bba0f951ee46c6
treed90e908884bfba6629638073bc3da1cb040ac2dc
parent5787d18e9cea5563045277310f9dd638dbe6b955
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298643 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/IRBuilder.h