summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py
diff options
context:
space:
mode:
authorBalaram Makam <bmakam@codeaurora.org>2016-05-04 17:34:20 +0000
committerBalaram Makam <bmakam@codeaurora.org>2016-05-04 17:34:20 +0000
commitcf3bcb2625a770c9f873ee6bc98ba4cd35863206 (patch)
tree68501826723ec4b38873456a4d982852cf4ad570 /lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py
parentc4abaefadb746b3ea695b318e892b38074ff19d7 (diff)
downloadbcm5719-llvm-cf3bcb2625a770c9f873ee6bc98ba4cd35863206.tar.gz
bcm5719-llvm-cf3bcb2625a770c9f873ee6bc98ba4cd35863206.zip
[InstCombine] Canonicalize icmp instructions based on dominating conditions.
Summary: This patch canonicalizes conditions based on the constant range information of the dominating branch condition. For example: %cmp = icmp slt i64 %a, 0 br i1 %cmp, label %land.lhs.true, label %lor.rhs lor.rhs: %cmp2 = icmp sgt i64 %a, 0 Would now be canonicalized into: %cmp = icmp slt i64 %a, 0 br i1 %cmp, label %land.lhs.true, label %lor.rhs lor.rhs: %cmp2 = icmp ne i64 %a, 0 Reviewers: mcrosier, gberry, t.p.northover, llvm-commits, reames, hfinkel, sanjoy, majnemer Subscribers: MatzeB, majnemer, mcrosier Differential Revision: http://reviews.llvm.org/D18841 llvm-svn: 268521
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud