summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/IRForTarget.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2013-06-03 20:43:12 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2013-06-03 20:43:12 +0000
commitc82f27af2ade152ec28082e1e510f048ec957d3b (patch)
tree50e13c3efd4fa950f57857b32a307f7289bb85bc /lldb/source/Expression/IRForTarget.cpp
parent8e7dd2f628ed54be7c4fec80476689d55f093d7d (diff)
downloadbcm5719-llvm-c82f27af2ade152ec28082e1e510f048ec957d3b.tar.gz
bcm5719-llvm-c82f27af2ade152ec28082e1e510f048ec957d3b.zip
SimplifyCFG: Do not transform PHI to select if doing so would be unsafe
PR16069 is an interesting case where an incoming value to a PHI is a trap value while also being a 'ConstantExpr'. We do not consider this case when performing the 'HoistThenElseCodeToIf' optimization. Instead, make our modifications more conservative if we detect that we cannot transform the PHI to a select. llvm-svn: 183152
Diffstat (limited to 'lldb/source/Expression/IRForTarget.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud