summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorErich Keane <erich.keane@intel.com>2019-10-11 16:30:45 +0000
committerErich Keane <erich.keane@intel.com>2019-10-11 16:30:45 +0000
commitd2a98c1dd3e9ca759d78992cadfbdf994e544838 (patch)
treea29da648288f058f00d51aa8930f29e2f2fca05a /include
parentbb282f47511e83fdb6761a6bda185e2062d7a099 (diff)
downloadclang-d2a98c1dd3e9ca759d78992cadfbdf994e544838.tar.gz
Fix test failure with 374562 on Hexagon
__builtin_assume_aligned takes a size_t which is a 32 bit int on hexagon. Thus, the constant gets converted to a 32 bit value, resulting in 0 not being a power of 2. This patch changes the constant being passed to 2**30 so that it fails, but doesnt exceed 30 bits. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@374569 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions