commit | d2a98c1dd3e9ca759d78992cadfbdf994e544838 | [log] [tgz] |
---|---|---|
author | Erich Keane <erich.keane@intel.com> | Fri Oct 11 16:30:45 2019 +0000 |
committer | Erich Keane <erich.keane@intel.com> | Fri Oct 11 16:30:45 2019 +0000 |
tree | a29da648288f058f00d51aa8930f29e2f2fca05a | |
parent | bb282f47511e83fdb6761a6bda185e2062d7a099 [diff] |
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