diff options
| author | Michael Kuperstein <michael.kuperstein@gmail.com> | 2016-03-18 23:19:29 +0000 |
|---|---|---|
| committer | Michael Kuperstein <michael.kuperstein@gmail.com> | 2016-03-18 23:19:29 +0000 |
| commit | 5abc2765fa884196b988ec432e655d6f21edfe2c (patch) | |
| tree | 59e790516b7725ed6c17102015b7ec12a048caf0 /llvm/test/Transforms/LoopStrengthReduce/dont_insert_redundant_ops.ll | |
| parent | 86bc631793a7a8ba912a97b5da082f2ade1417a1 (diff) | |
| download | bcm5719-llvm-5abc2765fa884196b988ec432e655d6f21edfe2c.tar.gz bcm5719-llvm-5abc2765fa884196b988ec432e655d6f21edfe2c.zip | |
Have DataLayout::isLegalInteger() accept uint64_t
While not strictly necessary, since we don't support large integer
types, this avoids bugs due to silent truncation from uint64_t to a
32-bit unsigned (e.g. DL.isLegalInteger(DL.getTypeSizeInBits(Ty) )
This fixes PR26972.
Differential Revision: http://reviews.llvm.org/D18258
llvm-svn: 263850
Diffstat (limited to 'llvm/test/Transforms/LoopStrengthReduce/dont_insert_redundant_ops.ll')
0 files changed, 0 insertions, 0 deletions

