summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/ConstantPools.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2016-07-09 19:26:25 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2016-07-09 19:26:25 +0000
commit177553511d4d40fcc9d55ee336451f119071c809 (patch)
treeec112fe5ae9e82956daf8c6520e4878727de75f3 /llvm/lib/MC/ConstantPools.cpp
parent97d05170789a96e49fd4b9b7464940f0f8718ee7 (diff)
downloadbcm5719-llvm-177553511d4d40fcc9d55ee336451f119071c809.tar.gz
bcm5719-llvm-177553511d4d40fcc9d55ee336451f119071c809.zip
[MS ABI] Some code cleanups
Don't create unnecessary truncations if the result will not be used. Also prefer preforming math before the truncation, it makes it a little easier to reason about. llvm-svn: 274984
Diffstat (limited to 'llvm/lib/MC/ConstantPools.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud