summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp
diff options
context:
space:
mode:
authorAyal Zaks <ayal.zaks@intel.com>2017-10-05 12:41:49 +0000
committerAyal Zaks <ayal.zaks@intel.com>2017-10-05 12:41:49 +0000
commitfc3f7a4f0c94a41796e5b21df4ff775339683ed0 (patch)
tree16f9296de918eadeb8fbd519dac8ecfddd7eeb0f /lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp
parent4cafbb9b5ed7b2ae0930ee3456e26044c77a21cc (diff)
downloadbcm5719-llvm-fc3f7a4f0c94a41796e5b21df4ff775339683ed0.tar.gz
bcm5719-llvm-fc3f7a4f0c94a41796e5b21df4ff775339683ed0.zip
[LV] Fix PR34711 - widen instruction ranges when sinking casts
Instead of trying to keep LastWidenRecipe updated after creating each recipe, have tryToWiden() retrieve the last recipe of the current VPBasicBlock and check if it's a VPWidenRecipe when attempting to extend its range. This ensures that such extensions, optimized to maintain the original instruction order, do so only when the instructions are to maintain their relative order. The latter does not always hold, e.g., when a cast needs to sink to unravel first order recurrence (r306884). Testcase derived from reproducer of PR34711. Differential Revision: https://reviews.llvm.org/D38339 llvm-svn: 314981
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud