diff options
author | Hal Finkel <hfinkel@anl.gov> | 2014-09-26 05:04:30 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2014-09-26 05:04:30 +0000 |
commit | ee90a223ead9d1389e0538401e8c88cffa4e7507 (patch) | |
tree | 69f450c880a58dd8131d04463afd90fd666470d0 /llvm/lib/Support/MathExtras.cpp | |
parent | ec44e4d05382e668ac84467a1ed99f398cd4a170 (diff) | |
download | llvm-ee90a223ead9d1389e0538401e8c88cffa4e7507.zip llvm-ee90a223ead9d1389e0538401e8c88cffa4e7507.tar.gz llvm-ee90a223ead9d1389e0538401e8c88cffa4e7507.tar.bz2 |
Support the assume_aligned function attribute
In addition to __builtin_assume_aligned, GCC also supports an assume_aligned
attribute which specifies the alignment (and optional offset) of a function's
return value. Here we implement support for the assume_aligned attribute by making
use of the @llvm.assume intrinsic.
llvm-svn: 218500
Diffstat (limited to 'llvm/lib/Support/MathExtras.cpp')
0 files changed, 0 insertions, 0 deletions