Simplify code in BlockGenerator::generateScalarLoads [NFC]
authorTobias Grosser <tobias@grosser.es>
Mon, 27 Jul 2015 17:57:58 +0000 (17:57 +0000)
committerTobias Grosser <tobias@grosser.es>
Mon, 27 Jul 2015 17:57:58 +0000 (17:57 +0000)
commitd4dd6ec74d0480f2a7c0e47051ded5ce91b9ebb0
tree6b4c571835fe30726267071d6059cf6de1de2f2b
parent10b23525cc40f84ee64065c5884fa28ecfcfb001
Simplify code in BlockGenerator::generateScalarLoads [NFC]

We hoist statements that are used on both branches of an if-condition, shorten
and unify some variable names and fold some variable declarations into their
only uses. We also drop a comment which just describes the elements the loop
iterates over.

No functional change intended.

llvm-svn: 243291
polly/lib/CodeGen/BlockGenerators.cpp