summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespace.py
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2016-04-18 21:38:29 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2016-04-18 21:38:29 +0000
commit5235a1b603db838df51c91782ca98155d892ff9f (patch)
treebecf0fe49a098ddc803ba2b0b06cc08d09045849 /lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespace.py
parentd8ce87f850ad4b04770b3af7b18ae2dbefd5f012 (diff)
downloadbcm5719-llvm-5235a1b603db838df51c91782ca98155d892ff9f.tar.gz
bcm5719-llvm-5235a1b603db838df51c91782ca98155d892ff9f.zip
Fix trip count calculation for parallel loops in runtime
The trip count calculation was incorrect for loops with large bounds. For example, for(int i=-2,000,000,000; i < 2,000,000,000; i+=50000000), the trip count calculation had overflow (trying to calculate 2,000,000,000 + 2,000,000,000 with signed integers) and wasn't giving the right value. This patch fixes this error in the runtime by using unsigned integers instead. There is still a bug in the clang compiler component because it warns that there is overflow in the test case file when there isn't. This error isn't there for the Intel Compiler. So for now, the test case is designated as XFAIL. Differential Revision: http://reviews.llvm.org/D19078 llvm-svn: 266677
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespace.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud