summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetMachine.cpp
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2013-05-14 21:59:17 +0000
committerRichard Trieu <rtrieu@google.com>2013-05-14 21:59:17 +0000
commit04d2d94762e48d853768a724c93dca3e50428d21 (patch)
tree74fe212221b22245dc87fac9b556efb2bfd6fed1 /llvm/lib/Target/TargetMachine.cpp
parentb3c52fb45b648ae21780fa8b9d23caeece32edd8 (diff)
downloadbcm5719-llvm-04d2d94762e48d853768a724c93dca3e50428d21.tar.gz
bcm5719-llvm-04d2d94762e48d853768a724c93dca3e50428d21.zip
When computing the size of large arrays, use char units instead of bits.
This prevents an overflow and assertion when the number of bits cannot be stored in 64-bits. llvm-svn: 181839
Diffstat (limited to 'llvm/lib/Target/TargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud