summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/options/foo.cpp
diff options
context:
space:
mode:
authorHaicheng Wu <haicheng@codeaurora.org>2016-03-14 03:24:28 +0000
committerHaicheng Wu <haicheng@codeaurora.org>2016-03-14 03:24:28 +0000
commitd60ae33d2961937635f49583898b40e9722592d8 (patch)
tree9d8a10055265bfa98db4088ac1e7741294f8b6c7 /lldb/packages/Python/lldbsuite/test/expression_command/options/foo.cpp
parent4251d3779f579b5f70325f2cbce9b1ee4605ea85 (diff)
downloadbcm5719-llvm-d60ae33d2961937635f49583898b40e9722592d8.tar.gz
bcm5719-llvm-d60ae33d2961937635f49583898b40e9722592d8.zip
[CVP] Convert an SDiv to a UDiv if both operands are known to be nonnegative
The motivating example is this for (j = n; j > 1; j = i) { i = j / 2; } The signed division is safely to be changed to an unsigned division (j is known to be larger than 1 from the loop guard) and later turned into a single shift without considering the sign bit. llvm-svn: 263406
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/options/foo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud