summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/settings/TestSettings.py
diff options
context:
space:
mode:
authorWei Mi <wmi@google.com>2016-02-09 00:07:08 +0000
committerWei Mi <wmi@google.com>2016-02-09 00:07:08 +0000
commitfc1cab305f74f4ed6e81e2ebf33912f7ed3ebff6 (patch)
treef122e57c5cf5c7b624f5399004abd88845aa195d /lldb/packages/Python/lldbsuite/test/settings/TestSettings.py
parent92e6c2896cb13cf4fec429679d1430df48fe9e6a (diff)
downloadbcm5719-llvm-fc1cab305f74f4ed6e81e2ebf33912f7ed3ebff6.tar.gz
bcm5719-llvm-fc1cab305f74f4ed6e81e2ebf33912f7ed3ebff6.zip
This patch is to fix PR26529 caused by r259736.
IndVarSimplify assumes scAddRecExpr to be expanded in literal form instead of canonical form by calling disableCanonicalMode after it creates SCEVExpander. When CanonicalMode is disabled, SCEVExpander::expand should always return PHI node for scAddRecExpr. r259736 broke the assumption. The fix is to let SCEVExpander::expand skip the reuse Value logic if CanonicalMode is false. In addition, Besides IndVarSimplify, LSR pass also calls disableCanonicalMode before doing rewrite. We can remove the original check of LSRMode in reuse Value logic and use CanonicalMode instead. llvm-svn: 260174
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/settings/TestSettings.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud