summaryrefslogtreecommitdiffstats
path: root/polly/lib/CodeGen/PPCGCodeGeneration.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2016-07-28 06:39:48 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2016-07-28 06:39:48 +0000
commit19d024b2fd930acad84fe6c33c2af93725408875 (patch)
tree4f10a333055316a441253befc544d6040477f463 /polly/lib/CodeGen/PPCGCodeGeneration.cpp
parent33e9521399674457e8d35e5c169af1e404bdc8ac (diff)
downloadbcm5719-llvm-19d024b2fd930acad84fe6c33c2af93725408875.tar.gz
bcm5719-llvm-19d024b2fd930acad84fe6c33c2af93725408875.zip
[ConstantFolding] Don't bail on folding if ConstantFoldConstantExpression fails
When folding an expression, we run ConstantFoldConstantExpression on each operand of that expression. However, ConstantFoldConstantExpression can fail and retur nullptr. Previously, we would bail on further refining the expression. Instead, use the original operand and see if we can refine a later operand. llvm-svn: 276959
Diffstat (limited to 'polly/lib/CodeGen/PPCGCodeGeneration.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud