summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-03-13 19:42:09 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-03-13 19:42:09 +0000
commitbe95b4afc6d073677858f0751b74ab8917f5ae34 (patch)
treed1d4f3314b3a340ee8339225369aecc70c3e5603 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent07ff9b03f6bf750e491cdde73f943a65f58f0d80 (diff)
downloadbcm5719-llvm-be95b4afc6d073677858f0751b74ab8917f5ae34.tar.gz
bcm5719-llvm-be95b4afc6d073677858f0751b74ab8917f5ae34.zip
instcombine: alloca: Canonicalize scalar allocation array size
As a follow-up to r232200, add an `-instcombine` to canonicalize scalar allocations to `i32 1`. Since r232200, `iX 1` (for X != 32) are only created by RAUWs, so this shouldn't fire too often. Nevertheless, it's a cheap check and a nice cleanup. llvm-svn: 232202
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud