diff options
author | Craig Topper <craig.topper@gmail.com> | 2017-05-26 22:42:34 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2017-05-26 22:42:34 +0000 |
commit | 348314dfb87a1265ef84658acf023d7999212be5 (patch) | |
tree | 66b4d3d0c5956f238eb38e8f1f3eca695d79f98a /lldb/packages/Python/lldbsuite/test/python_api/breakpoint/TestBreakpointAPI.py | |
parent | 3c585d3a8f196c28284975c718f4e13921ee3fc9 (diff) | |
download | bcm5719-llvm-348314dfb87a1265ef84658acf023d7999212be5.tar.gz bcm5719-llvm-348314dfb87a1265ef84658acf023d7999212be5.zip |
[InstSimplify] Push commuted op checks for and/or of icmp further down to avoid duplicate work
Previously, we called simplifyPossiblyCastedAndOrOfICmps twice with the operands commuted, but the call to simplifyAndOrOfICmpsWithConstants further down already handles commuting and doesn't need to be called both ways.
This patch pushes double calls further down to just the individual routines that need to be called twice.
Differential Revision: https://reviews.llvm.org/D33603
llvm-svn: 304044
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/breakpoint/TestBreakpointAPI.py')
0 files changed, 0 insertions, 0 deletions